mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix hipErrorNoBinaryForGpu when hip_FOUND
This commit is contained in:
@@ -684,6 +684,10 @@ if(USE_BDA_BRIDGE)
|
|||||||
if(VexCL_FOUND)
|
if(VexCL_FOUND)
|
||||||
target_link_libraries( opmsimulators PUBLIC OPM::VexCL::OpenCL )
|
target_link_libraries( opmsimulators PUBLIC OPM::VexCL::OpenCL )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(hip_FOUND)
|
||||||
|
target_link_libraries( opmsimulators PUBLIC hip::device )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(Damaris_FOUND)
|
if(Damaris_FOUND)
|
||||||
|
|||||||
Reference in New Issue
Block a user