Skip to content

Commit

Permalink
Merge pull request QMCPACK#4814 from ye-luo/fix-clang-offload-gcc12
Browse files Browse the repository at this point in the history
Resolve noinline definition conflict between CUDA headerfiles and GCC 12 libraries
  • Loading branch information
prckent authored Nov 3, 2023
2 parents 137615d + 11d7f51 commit 252da53
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 252da53

Please sign in to comment.