Skip to content

Commit

Permalink
Remove sycl namespace alias (AMReX-Codes#2971)
Browse files Browse the repository at this point in the history
This causes a conflict with new compilers.
  • Loading branch information
WeiqunZhang authored Oct 3, 2022
1 parent de7b7f4 commit 1bc4e4e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion Src/Base/AMReX_GpuTypes.H
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#ifdef AMREX_USE_DPCPP
#include <CL/sycl.hpp>
namespace sycl = cl::sycl;
#endif

namespace amrex {
Expand Down
1 change: 0 additions & 1 deletion Src/Base/AMReX_Math.H
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#ifdef AMREX_USE_DPCPP
#include <CL/sycl.hpp>
namespace sycl = cl::sycl;
#endif

namespace amrex { inline namespace disabled {
Expand Down
1 change: 0 additions & 1 deletion Src/Base/AMReX_RandomEngine.H
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <curand_kernel.h>
#elif defined(AMREX_USE_DPCPP)
#include <CL/sycl.hpp>
namespace sycl = cl::sycl;
#include <oneapi/mkl/rng/device.hpp>
namespace mkl = oneapi::mkl;
#endif
Expand Down

0 comments on commit 1bc4e4e

Please sign in to comment.