Skip to content

Commit 6ae1cfe

Browse files
authored
[SYCL][NFC] Remove dead code (#1182)
Signed-off-by: Alexey Bader <alexey.bader@intel.com>
1 parent 0125496 commit 6ae1cfe

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

sycl/include/CL/sycl/access/access.hpp

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -76,29 +76,6 @@ constexpr bool modeWritesNewData(access::mode m) {
7676
#define __OPENCL_PRIVATE_AS__
7777
#endif
7878

79-
template <typename dataT, access::target accessTarget>
80-
struct DeviceValueType;
81-
82-
template <typename dataT>
83-
struct DeviceValueType<dataT, access::target::global_buffer> {
84-
using type = __OPENCL_GLOBAL_AS__ dataT;
85-
};
86-
87-
template <typename dataT>
88-
struct DeviceValueType<dataT, access::target::constant_buffer> {
89-
using type = __OPENCL_CONSTANT_AS__ dataT;
90-
};
91-
92-
template <typename dataT>
93-
struct DeviceValueType<dataT, access::target::local> {
94-
using type = __OPENCL_LOCAL_AS__ dataT;
95-
};
96-
97-
template <typename dataT>
98-
struct DeviceValueType<dataT, access::target::host_buffer> {
99-
using type = dataT;
100-
};
101-
10279
template <access::target accessTarget> struct TargetToAS {
10380
constexpr static access::address_space AS =
10481
access::address_space::global_space;

0 commit comments

Comments
 (0)