Skip to content

Commit

Permalink
Merge branch 'develop' into reference_points
Browse files Browse the repository at this point in the history
  • Loading branch information
PDoakORNL authored Nov 6, 2023
2 parents 4f99340 + 3875da0 commit fb52fb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Platforms/CUDA/CUDADeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

#include "CUDADeviceManager.h"
#include <stdexcept>
#include "CUDAruntime.hpp"
#include "OutputManager.h"
#include "CUDAruntime.hpp" // Positioned here to avoid conflict between CUDA and GCC >= 12 headers. https://github.com/QMCPACK/qmcpack/pull/4814
#include "determineDefaultDeviceNum.h"

namespace qmcplusplus
Expand Down
5 changes: 4 additions & 1 deletion src/Platforms/OMPTarget/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
#// File created by: Ye Luo, [email protected], Argonne National Laboratory
#//////////////////////////////////////////////////////////////////////////////////////

set(OMP_RT_SRCS OMPallocator.cpp OMPDeviceManager.cpp)
set(OMP_RT_SRCS OMPallocator.cpp)
if(ENABLE_OFFLOAD)
set(OMP_RT_SRCS ${OMP_RT_SRCS} OMPDeviceManager.cpp)
endif(ENABLE_OFFLOAD)
set(OMP_LA_SRCS ompBLAS.cpp)

add_library(platform_omptarget_runtime ${OMP_RT_SRCS})
Expand Down

0 comments on commit fb52fb1

Please sign in to comment.