Skip to content

Commit c8c2f23

Browse files
committed
Remove offload check
1 parent cccff7b commit c8c2f23

File tree

1 file changed

+24
-30
lines changed

1 file changed

+24
-30
lines changed

tests/solids/diamondC_1x1x1_pp/CMakeLists.txt

+24-30
Original file line numberDiff line numberDiff line change
@@ -309,23 +309,19 @@ qmc_run_and_check(
309309
LONG_DIAMOND_DMC_ALLP_SCALARS # DMC
310310
)
311311

312-
if(NOT ENABLE_OFFLOAD)
313-
list(APPEND LONG_DIAMOND_KSPACE_SCALARS "totenergy" "-10.500719 0.001769")
314-
list(APPEND LONG_DIAMOND_KSPACE_SCALARS "variance" "0.312264 0.028662")
315-
qmc_run_and_check(
316-
long-diamondC_1x1x1_pp-vmc_sdj_kspace
317-
"${qmcpack_SOURCE_DIR}/tests/solids/diamondC_1x1x1_pp"
318-
qmc_long_kspace
319-
qmc_long_kspace.in.xml
320-
1
321-
16
322-
TRUE
323-
0
324-
LONG_DIAMOND_KSPACE_SCALARS # VMC
325-
)
326-
else()
327-
message(VERBOSE "Skipping k-space Jastrow tests because they are not supported by OFFLOAD build (ENABLE_OFFLOAD=1)")
328-
endif()
312+
list(APPEND LONG_DIAMOND_KSPACE_SCALARS "totenergy" "-10.500719 0.001769")
313+
list(APPEND LONG_DIAMOND_KSPACE_SCALARS "variance" "0.312264 0.028662")
314+
qmc_run_and_check(
315+
long-diamondC_1x1x1_pp-vmc_sdj_kspace
316+
"${qmcpack_SOURCE_DIR}/tests/solids/diamondC_1x1x1_pp"
317+
qmc_long_kspace
318+
qmc_long_kspace.in.xml
319+
1
320+
16
321+
TRUE
322+
0
323+
LONG_DIAMOND_KSPACE_SCALARS # VMC
324+
)
329325

330326
# Reference DMC run in qmc-ref "-10.531583 0.000265"
331327
list(APPEND LONG_DIAMOND_DMC_SCALARS "totenergy" "-10.531583 0.000815")
@@ -1395,19 +1391,17 @@ else()
13951391
list(APPEND DET_DIAMOND_KSPACE_SCALARS "flux" "-10.16222139 0.000001")
13961392
endif()
13971393

1398-
if(NOT ENABLE_OFFLOAD)
1399-
qmc_run_and_check(
1400-
deterministic-diamondC_1x1x1_pp-vmc_sdj_kspace
1401-
"${qmcpack_SOURCE_DIR}/tests/solids/diamondC_1x1x1_pp"
1402-
det_qmc_short_kspace
1403-
det_qmc_short_kspace.in.xml
1404-
1
1405-
1
1406-
TRUE
1407-
0
1408-
DET_DIAMOND_KSPACE_SCALARS # VMC
1409-
)
1410-
endif()
1394+
qmc_run_and_check(
1395+
deterministic-diamondC_1x1x1_pp-vmc_sdj_kspace
1396+
"${qmcpack_SOURCE_DIR}/tests/solids/diamondC_1x1x1_pp"
1397+
det_qmc_short_kspace
1398+
det_qmc_short_kspace.in.xml
1399+
1
1400+
1
1401+
TRUE
1402+
0
1403+
DET_DIAMOND_KSPACE_SCALARS # VMC
1404+
)
14111405

14121406
if(QMC_MIXED_PRECISION)
14131407
list(APPEND DET_DIAMOND_DMC_SCALARS "totenergy" "-10.52331645 0.00001129")

0 commit comments

Comments
 (0)