test_is_gpu_pointer: add missing linking against cudart

This commit is contained in:
Arne Morten Kvarving 2025-02-07 09:54:51 +01:00
parent 8e9703b0da
commit c24e28a91d

View File

@ -700,7 +700,7 @@ if(CUDA_FOUND)
${CUDA_nvptxcompiler_static_LIBRARY}
)
foreach(tgt test_gpu_safe_call test_cuda_check_last_error test_GpuVector)
foreach(tgt test_gpu_safe_call test_cuda_check_last_error test_GpuVector test_is_gpu_pointer)
target_link_libraries(${tgt} CUDA::cudart)
endforeach()
endif()