mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-07-07 04:53:03 -05:00
Merge pull request #5401 from akva2/fix_cuda_shared_linking
fixed: linking of some cuda tests with shared libraries
This commit is contained in:
commit
54d303ae5d
|
@ -743,6 +743,9 @@ if(CUDA_FOUND)
|
|||
if (NOT USE_HIP)
|
||||
target_link_libraries( opmsimulators PUBLIC ${CUDA_cusparse_LIBRARY} )
|
||||
target_link_libraries( opmsimulators PUBLIC ${CUDA_cublas_LIBRARY} )
|
||||
foreach(tgt test_cuda_safe_call test_cuda_check_last_error test_cuvector)
|
||||
target_link_libraries(${tgt} CUDA::cudart)
|
||||
endforeach()
|
||||
endif()
|
||||
if(USE_BDA_BRIDGE)
|
||||
set_tests_properties(cusparseSolver PROPERTIES LABELS gpu_cuda)
|
||||
|
|
Loading…
Reference in New Issue
Block a user