File tree 28 files changed +32
-32
lines changed
28 files changed +32
-32
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ SET(SRCS test_accumulator.cpp test_local_energy_est.cpp EstimatorManagerBaseTest
22
22
ADD_EXECUTABLE (${UTEST_EXE} ${SRCS} )
23
23
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmcestimators_unit)
24
24
IF (USE_OBJECT_TARGET)
25
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omp )
25
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omptarget )
26
26
ENDIF ()
27
27
28
28
ADD_UNIT_TEST(${UTEST_NAME} "${QMCPACK_UNIT_TEST_DIR} /${UTEST_EXE} " )
@@ -34,7 +34,7 @@ IF(HAVE_MPI)
34
34
SET (SRCS EstimatorManagerNewTest.cpp test_manager_mpi.cpp)
35
35
ADD_EXECUTABLE (${UTEST_EXE} ${SRCS} )
36
36
IF (USE_OBJECT_TARGET)
37
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcdriver_unit qmcwfs qmcparticle qmcutil containers platform_omp )
37
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcdriver_unit qmcwfs qmcparticle qmcutil containers platform_omptarget )
38
38
ENDIF ()
39
39
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmcestimators_unit)
40
40
# Right now the unified driver mpi tests are hard coded for 3 MPI ranks
Original file line number Diff line number Diff line change 17
17
18
18
#include " Particle/DynamicCoordinates.h"
19
19
#include " OhmmsSoA/VectorSoaContainer.h"
20
- #include " OpenMP /OMPallocator.hpp"
20
+ #include " OMPTarget /OMPallocator.hpp"
21
21
#include " Platforms/PinnedAllocator.h"
22
22
23
23
namespace qmcplusplus
Original file line number Diff line number Diff line change 13
13
#ifndef QMCPLUSPLUS_DTDIMPL_AB_OMP_H
14
14
#define QMCPLUSPLUS_DTDIMPL_AB_OMP_H
15
15
16
- #include " OpenMP /OMPallocator.hpp"
16
+ #include " OMPTarget /OMPallocator.hpp"
17
17
#include " Platforms/PinnedAllocator.h"
18
18
#include " Particle/RealSpacePositionsOMP.h"
19
19
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ TARGET_LINK_LIBRARIES(platform_device PUBLIC message)
34
34
SUBDIRS (CPU)
35
35
TARGET_LINK_LIBRARIES (platform_device PUBLIC platform_cpu)
36
36
37
- SUBDIRS (OpenMP )
38
- TARGET_LINK_LIBRARIES (platform_device PRIVATE platform_omp )
37
+ SUBDIRS (OMPTarget )
38
+ TARGET_LINK_LIBRARIES (platform_device PRIVATE platform_omptarget )
39
39
40
40
IF (QMC_CUDA)
41
41
SUBDIRS (CUDA_legacy)
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ SET(OMP_SRCS
15
15
)
16
16
17
17
IF (USE_OBJECT_TARGET)
18
- ADD_LIBRARY (platform_omp OBJECT ${OMP_SRCS} )
18
+ ADD_LIBRARY (platform_omptarget OBJECT ${OMP_SRCS} )
19
19
ELSE ()
20
- ADD_LIBRARY (platform_omp ${OMP_SRCS} )
20
+ ADD_LIBRARY (platform_omptarget ${OMP_SRCS} )
21
21
ENDIF ()
22
22
23
23
IF (NOT QMC_COMPLEX)
24
- TARGET_COMPILE_DEFINITIONS (platform_omp PRIVATE -DOPENMP_NO_COMPLEX)
24
+ TARGET_COMPILE_DEFINITIONS (platform_omptarget PRIVATE -DOPENMP_NO_COMPLEX)
25
25
ENDIF ()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ SET(UTEST_EXE test_${SRC_DIR})
19
19
SET (UTEST_NAME deterministic-unit_test_${SRC_DIR} )
20
20
21
21
ADD_EXECUTABLE (${UTEST_EXE} test_vector.cpp test_math.cpp test_deep_copy.cpp test_class_member.cpp)
22
- TARGET_LINK_LIBRARIES (${UTEST_EXE} platform_device platform_omp catch_main)
22
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} platform_device platform_omptarget catch_main)
23
23
24
24
ADD_UNIT_TEST(${UTEST_NAME} "${QMCPACK_UNIT_TEST_DIR} /${UTEST_EXE} " )
25
25
Original file line number Diff line number Diff line change 16
16
#include < vector>
17
17
#include < iostream>
18
18
#include < omp.h>
19
- #include " OpenMP /OMPallocator.hpp"
19
+ #include " OMPTarget /OMPallocator.hpp"
20
20
21
21
namespace qmcplusplus
22
22
{
Original file line number Diff line number Diff line change 16
16
#include < vector>
17
17
#include < iostream>
18
18
#include < omp.h>
19
- #include " OpenMP /OMPallocator.hpp"
19
+ #include " OMPTarget /OMPallocator.hpp"
20
20
21
21
namespace qmcplusplus
22
22
{
Original file line number Diff line number Diff line change 15
15
#include < memory>
16
16
#include < vector>
17
17
#include < iostream>
18
- #include " OpenMP /OMPallocator.hpp"
18
+ #include " OMPTarget /OMPallocator.hpp"
19
19
20
20
namespace qmcplusplus
21
21
{
Original file line number Diff line number Diff line change 15
15
#include < memory>
16
16
#include < vector>
17
17
#include < iostream>
18
- #include " OpenMP /OMPallocator.hpp"
18
+ #include " OMPTarget /OMPallocator.hpp"
19
19
20
20
namespace qmcplusplus
21
21
{
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ADD_CUSTOM_COMMAND(TARGET qmcpack
45
45
46
46
TARGET_LINK_LIBRARIES (qmcpack qmc qmcdriver)
47
47
IF (USE_OBJECT_TARGET)
48
- TARGET_LINK_LIBRARIES (qmcpack qmcestimators qmcham qmcwfs qmcparticle qmcutil containers platform_device platform_omp )
48
+ TARGET_LINK_LIBRARIES (qmcpack qmcestimators qmcham qmcwfs qmcparticle qmcutil containers platform_device platform_omptarget )
49
49
ENDIF ()
50
50
51
51
IF (BUILD_AFQMC)
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ ADD_EXECUTABLE(${UTEST_EXE} test_project_data.cpp test_rng_control.cpp)
22
22
23
23
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmc)
24
24
IF (USE_OBJECT_TARGET)
25
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators qmcdriver qmcham qmcwfs qmcparticle qmcutil containers platform_device platform_omp )
25
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators qmcdriver qmcham qmcwfs qmcparticle qmcutil containers platform_device platform_omptarget )
26
26
ENDIF ()
27
27
28
28
ADD_UNIT_TEST(${UTEST_NAME} "${QMCPACK_UNIT_TEST_DIR} /${UTEST_EXE} " )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ENDIF(QMC_CUDA)
45
45
USE_FAKE_RNG(${UTEST_EXE} )
46
46
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmcdriver_unit qmcfakerng)
47
47
IF (USE_OBJECT_TARGET)
48
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omp )
48
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omptarget )
49
49
ENDIF ()
50
50
51
51
ADD_UNIT_TEST(${UTEST_NAME} "${QMCPACK_UNIT_TEST_DIR} /${UTEST_EXE} " )
@@ -68,7 +68,7 @@ IF(NOT QMC_CUDA)
68
68
USE_FAKE_RNG(${UTEST_EXE} )
69
69
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmcdriver_unit qmcfakerng)
70
70
IF (USE_OBJECT_TARGET)
71
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omp )
71
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omptarget )
72
72
ENDIF ()
73
73
74
74
ADD_UNIT_TEST(${UTEST_NAME} "${QMCPACK_UNIT_TEST_DIR} /${UTEST_EXE} " )
@@ -85,7 +85,7 @@ IF(NOT QMC_CUDA)
85
85
ADD_EXECUTABLE (${UTEST_EXE} ${DRIVER_TEST_SRC} )
86
86
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmcdriver_unit qmcfakerng)
87
87
IF (USE_OBJECT_TARGET)
88
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omp )
88
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcestimators_unit qmcham_unit qmcwfs qmcparticle qmcutil containers platform_omptarget )
89
89
ENDIF ()
90
90
# Right now the unified driver mpi tests are hard coded for 3 MPI ranks
91
91
ADD_MPI_UNIT_TEST(${UTEST_NAME} "${QMCPACK_UNIT_TEST_DIR} /${UTEST_EXE} " 3)
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E copy "${qmcpack_SOURCE_DIR}/tests/ps
55
55
ADD_EXECUTABLE (${UTEST_EXE} ${SRCS} )
56
56
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmcham)
57
57
IF (USE_OBJECT_TARGET)
58
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcwfs qmcparticle qmcutil containers platform_omp )
58
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcwfs qmcparticle qmcutil containers platform_omptarget )
59
59
ENDIF ()
60
60
61
61
#ADD_TEST(NAME ${UTEST_NAME} COMMAND "${QMCPACK_UNIT_TEST_DIR}/${UTEST_EXE}")
Original file line number Diff line number Diff line change 14
14
#include " spline2/MultiBsplineEval.hpp"
15
15
#include " spline2/MultiBsplineEval_OMPoffload.hpp"
16
16
#include " QMCWaveFunctions/BsplineFactory/contraction_helper.hpp"
17
- #include " Platforms/OpenMP /ompReduction.hpp"
17
+ #include " Platforms/OMPTarget /ompReduction.hpp"
18
18
#include " config/stdlib/math.hpp"
19
19
20
20
namespace qmcplusplus
Original file line number Diff line number Diff line change 22
22
#include " QMCWaveFunctions/BsplineFactory/BsplineSet.h"
23
23
#include " OhmmsSoA/VectorSoaContainer.h"
24
24
#include " spline2/MultiBspline.hpp"
25
- #include " OpenMP /OMPallocator.hpp"
25
+ #include " OMPTarget /OMPallocator.hpp"
26
26
#include " Platforms/PinnedAllocator.h"
27
27
#include " Utilities/FairDivide.h"
28
28
#include " Utilities/TimerManager.h"
Original file line number Diff line number Diff line change 22
22
#include " QMCWaveFunctions/BsplineFactory/BsplineSet.h"
23
23
#include " OhmmsSoA/VectorSoaContainer.h"
24
24
#include " spline2/MultiBspline.hpp"
25
- #include " OpenMP /OMPallocator.hpp"
25
+ #include " OMPTarget /OMPallocator.hpp"
26
26
#include " Platforms/PinnedAllocator.h"
27
27
#include " Utilities/FairDivide.h"
28
28
#include " Utilities/TimerManager.h"
Original file line number Diff line number Diff line change 22
22
#include " QMCWaveFunctions/Fermion/MatrixDelayedUpdateCUDA.h"
23
23
#endif
24
24
#include " Platforms/PinnedAllocator.h"
25
- #include " OpenMP /OMPallocator.hpp"
25
+ #include " OMPTarget /OMPallocator.hpp"
26
26
27
27
namespace qmcplusplus
28
28
{
Original file line number Diff line number Diff line change 14
14
15
15
#include " CPU/SIMD/aligned_allocator.hpp"
16
16
#include " Platforms/PinnedAllocator.h"
17
- #include " OpenMP /OMPallocator.hpp"
17
+ #include " OMPTarget /OMPallocator.hpp"
18
18
#include " OhmmsPETE/OhmmsVector.h"
19
19
#include " OhmmsPETE/OhmmsMatrix.h"
20
20
#include " QMCWaveFunctions/Fermion/DiracMatrix.h"
21
- #include " Platforms/OpenMP /ompBLAS.hpp"
21
+ #include " Platforms/OMPTarget /ompBLAS.hpp"
22
22
#include < cuda_runtime_api.h>
23
23
#include " CUDA/cuBLAS.hpp"
24
24
#include " CUDA/cuBLAS_missing_functions.hpp"
Original file line number Diff line number Diff line change 14
14
15
15
#include " CPU/SIMD/aligned_allocator.hpp"
16
16
#include " Platforms/PinnedAllocator.h"
17
- #include " OpenMP /OMPallocator.hpp"
17
+ #include " OMPTarget /OMPallocator.hpp"
18
18
#include " OhmmsPETE/OhmmsVector.h"
19
19
#include " OhmmsPETE/OhmmsMatrix.h"
20
20
#include " QMCWaveFunctions/Fermion/DiracMatrix.h"
21
- #include " Platforms/OpenMP /ompBLAS.hpp"
22
- #include " Platforms/OpenMP /ompReduction.hpp"
21
+ #include " Platforms/OMPTarget /ompBLAS.hpp"
22
+ #include " Platforms/OMPTarget /ompReduction.hpp"
23
23
24
24
25
25
namespace qmcplusplus
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ FOREACH(CATEGORY trialwf sposet jastrow determinant)
71
71
72
72
TARGET_LINK_LIBRARIES (${UTEST_EXE} catch_main qmcwfs Math::BLAS_LAPACK Math::scalar_vector_functions)
73
73
IF (USE_OBJECT_TARGET)
74
- TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcparticle qmcutil containers platform_omp )
74
+ TARGET_LINK_LIBRARIES (${UTEST_EXE} qmcparticle qmcutil containers platform_omptarget )
75
75
ENDIF ()
76
76
77
77
ADD_UNIT_TEST(${UTEST_NAME} "${QMCPACK_UNIT_TEST_DIR} /${UTEST_EXE} " )
Original file line number Diff line number Diff line change 23
23
#ifndef SPLINE2_OFFLOAD_MULTIEINSPLINE_VGLH_HPP
24
24
#define SPLINE2_OFFLOAD_MULTIEINSPLINE_VGLH_HPP
25
25
26
- #include " OpenMP /OMPstd.hpp"
26
+ #include " OMPTarget /OMPstd.hpp"
27
27
#include " spline2/MultiBsplineData.hpp"
28
28
#include " spline2/MultiBsplineEval_helper.hpp"
29
29
Original file line number Diff line number Diff line change 12
12
#ifndef SPLINE2_OFFLOAD_MULTIEINSPLINE_VALUE_HPP
13
13
#define SPLINE2_OFFLOAD_MULTIEINSPLINE_VALUE_HPP
14
14
15
- #include " OpenMP /OMPstd.hpp"
15
+ #include " OMPTarget /OMPstd.hpp"
16
16
#include " spline2/MultiBsplineData.hpp"
17
17
#include " spline2/MultiBsplineEval_helper.hpp"
18
18
You can’t perform that action at this time.
0 commit comments