Skip to content

Commit

Permalink
fix SYCL using Buf*
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraPerego authored and psychocoderHPC committed Nov 22, 2024
1 parent fe9436d commit 4f5a3de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions include/alpaka/mem/buf/BufCpuSycl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@

#pragma once

#include "alpaka/dev/DevCpuSycl.hpp"
#include "alpaka/mem/buf/BufGenericSycl.hpp"
#include "alpaka/platform/PlatformCpuSycl.hpp"

#if defined(ALPAKA_ACC_SYCL_ENABLED) && defined(ALPAKA_SYCL_ONEAPI_CPU)

namespace alpaka
{
template<typename TElem, typename TDim, typename TIdx>
using BufCpuSycl = BufGenericSycl<TElem, TDim, TIdx, PlatformCpuSycl>;
using BufCpuSycl = BufGenericSycl<TElem, TDim, TIdx, TagCpuSycl>;
} // namespace alpaka

#endif
4 changes: 1 addition & 3 deletions include/alpaka/mem/buf/BufFpgaSyclIntel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@

#pragma once

#include "alpaka/dev/DevFpgaSyclIntel.hpp"
#include "alpaka/mem/buf/BufGenericSycl.hpp"
#include "alpaka/platform/PlatformFpgaSyclIntel.hpp"

#if defined(ALPAKA_ACC_SYCL_ENABLED) && defined(ALPAKA_SYCL_ONEAPI_FPGA)

namespace alpaka
{
template<typename TElem, typename TDim, typename TIdx>
using BufFpgaSyclIntel = BufGenericSycl<TElem, TDim, TIdx, PlatformFpgaSyclIntel>;
using BufFpgaSyclIntel = BufGenericSycl<TElem, TDim, TIdx, TagFpgaSyclIntel>;
} // namespace alpaka

#endif
4 changes: 1 addition & 3 deletions include/alpaka/mem/buf/BufGpuSyclIntel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@

#pragma once

#include "alpaka/dev/DevGpuSyclIntel.hpp"
#include "alpaka/mem/buf/BufGenericSycl.hpp"
#include "alpaka/platform/PlatformGpuSyclIntel.hpp"

#if defined(ALPAKA_ACC_SYCL_ENABLED) && defined(ALPAKA_SYCL_ONEAPI_GPU)

namespace alpaka
{
template<typename TElem, typename TDim, typename TIdx>
using BufGpuSyclIntel = BufGenericSycl<TElem, TDim, TIdx, PlatformGpuSyclIntel>;
using BufGpuSyclIntel = BufGenericSycl<TElem, TDim, TIdx, TagGpuSyclIntel>;
} // namespace alpaka

#endif

0 comments on commit 4f5a3de

Please sign in to comment.