mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 22:57:42 -05:00
Merge pull request #7099 from SoilRos/bugfix/wrong-opencl-found-variable
Fix casing of OpenCL_FOUND CMake variable
This commit is contained in:
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -288,7 +288,7 @@ macro(opm-simulators_prereqs_hook)
|
||||
endmacro()
|
||||
|
||||
macro(opm-simulators_sources_hook)
|
||||
if(OPENCL_FOUND)
|
||||
if(OpenCL_FOUND)
|
||||
include(opencl-source-provider)
|
||||
target_sources(opmsimulators PRIVATE ${PROJECT_BINARY_DIR}/clSources.cpp)
|
||||
endif()
|
||||
|
||||
@@ -418,7 +418,7 @@ if(USE_GPU_BRIDGE)
|
||||
opm/simulators/linalg/gpubridge/WellContributions.cpp
|
||||
opm/simulators/linalg/gpubridge/MultisegmentWellContribution.cpp
|
||||
opm/simulators/linalg/ISTLSolverGpuBridge.cpp)
|
||||
if(OPENCL_FOUND)
|
||||
if(OpenCL_FOUND)
|
||||
list (APPEND MAIN_SOURCE_FILES opm/simulators/linalg/gpubridge/BlockedMatrix.cpp)
|
||||
list (APPEND MAIN_SOURCE_FILES opm/simulators/linalg/gpubridge/opencl/openclBILU0.cpp)
|
||||
list (APPEND MAIN_SOURCE_FILES opm/simulators/linalg/gpubridge/Reorder.cpp)
|
||||
@@ -595,7 +595,7 @@ if(CUDA_FOUND OR hip_FOUND)
|
||||
endif()
|
||||
|
||||
if(USE_GPU_BRIDGE)
|
||||
if(OPENCL_FOUND)
|
||||
if(OpenCL_FOUND)
|
||||
list(APPEND TEST_SOURCE_FILES tests/test_openclSolver.cpp)
|
||||
list(APPEND TEST_SOURCE_FILES tests/test_solvetransposed3x3.cpp)
|
||||
list(APPEND TEST_SOURCE_FILES tests/test_csrToCscOffsetMap.cpp)
|
||||
|
||||
Reference in new issue
Block a user