diff options
Diffstat (limited to 'test/gpu_common.h')
-rw-r--r-- | test/gpu_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gpu_common.h b/test/gpu_common.h index fe0485e98..c37eaa13f 100644 --- a/test/gpu_common.h +++ b/test/gpu_common.h @@ -117,6 +117,7 @@ struct compile_time_device_info { void operator()(int i, const int* /*in*/, int* info) const { if (i == 0) { + EIGEN_UNUSED_VARIABLE(info) #if defined(__CUDA_ARCH__) info[0] = int(__CUDA_ARCH__ +0); #endif |