Skip to content

Commit 1bc4e4e

Browse files
authored
Remove sycl namespace alias (AMReX-Codes#2971)
This causes a conflict with new compilers.
1 parent de7b7f4 commit 1bc4e4e

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

Src/Base/AMReX_GpuTypes.H

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#ifdef AMREX_USE_DPCPP
1010
#include <CL/sycl.hpp>
11-
namespace sycl = cl::sycl;
1211
#endif
1312

1413
namespace amrex {

Src/Base/AMReX_Math.H

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#ifdef AMREX_USE_DPCPP
1111
#include <CL/sycl.hpp>
12-
namespace sycl = cl::sycl;
1312
#endif
1413

1514
namespace amrex { inline namespace disabled {

Src/Base/AMReX_RandomEngine.H

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <curand_kernel.h>
1616
#elif defined(AMREX_USE_DPCPP)
1717
#include <CL/sycl.hpp>
18-
namespace sycl = cl::sycl;
1918
#include <oneapi/mkl/rng/device.hpp>
2019
namespace mkl = oneapi::mkl;
2120
#endif

0 commit comments

Comments
 (0)