mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 15:10:09 -05:00
Merge pull request #7126 from bska/fix-hipify-build
Support HIP Configuration in Convective Mixing
This commit is contained in:
1 file changed
+7
-2
@@ -30,10 +30,15 @@
|
||||
|
||||
#include <opm/common/utility/VectorWithDefaultAllocator.hpp>
|
||||
|
||||
#ifdef HAVE_CUDA
|
||||
#if HAVE_CUDA
|
||||
#if USE_HIP
|
||||
#include <opm/simulators/linalg/gpuistl_hip/GpuBuffer.hpp>
|
||||
#include <opm/simulators/linalg/gpuistl_hip/GpuView.hpp>
|
||||
#else // !USE_HIP
|
||||
#include <opm/simulators/linalg/gpuistl/GpuBuffer.hpp>
|
||||
#include <opm/simulators/linalg/gpuistl/GpuView.hpp>
|
||||
#endif
|
||||
#endif // USE_HIP
|
||||
#endif // HAVE_CUDA
|
||||
|
||||
namespace Opm {
|
||||
|
||||
|
||||
Reference in new issue
Block a user