mirror of https://github.com/QMCPACK/qmcpack.git
Use of GPU resource lock covers legacy CUDA.
This commit is contained in:
parent
90984c2692
commit
d8ef236439
|
@ -115,7 +115,7 @@ FUNCTION( RUN_QMC_APP_NO_COPY TESTNAME WORKDIR PROCS THREADS TEST_ADDED TEST_LAB
|
|||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
if (ENABLE_OFFLOAD)
|
||||
if (QMC_CUDA OR ENABLE_CUDA OR ENABLE_OFFLOAD)
|
||||
set_tests_properties(${TESTNAME} PROPERTIES RESOURCE_LOCK exclusively_owned_gpus)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ FUNCTION( ADD_UNIT_TEST TESTNAME PROCS THREADS TEST_BINARY )
|
|||
ENVIRONMENT OMP_NUM_THREADS=${THREADS}
|
||||
PROCESSOR_AFFINITY TRUE )
|
||||
|
||||
if (ENABLE_OFFLOAD)
|
||||
if (QMC_CUDA OR ENABLE_CUDA OR ENABLE_OFFLOAD)
|
||||
set_tests_properties(${TESTNAME} PROPERTIES RESOURCE_LOCK exclusively_owned_gpus)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue