mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Disabled the use of half2 on cuda devices of compute capability < 5.3
This commit is contained in:
@@ -210,10 +210,7 @@ if(CUDA_FOUND AND EIGEN_TEST_CUDA)
|
||||
ei_add_test(cxx11_tensor_random_cuda)
|
||||
endif()
|
||||
|
||||
# Operations other that casting of half floats are only supported starting with arch 5.3
|
||||
if (${EIGEN_CUDA_COMPUTE_ARCH} GREATER 52)
|
||||
ei_add_test(cxx11_tensor_of_float16_cuda)
|
||||
endif()
|
||||
ei_add_test(cxx11_tensor_of_float16_cuda)
|
||||
|
||||
unset(EIGEN_ADD_TEST_FILENAME_EXTENSION)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user