diff --git a/sycl/include/CL/sycl/access/access.hpp b/sycl/include/CL/sycl/access/access.hpp index ce6dea8bd3615..63088cd5b3966 100644 --- a/sycl/include/CL/sycl/access/access.hpp +++ b/sycl/include/CL/sycl/access/access.hpp @@ -76,29 +76,6 @@ constexpr bool modeWritesNewData(access::mode m) { #define __OPENCL_PRIVATE_AS__ #endif -template -struct DeviceValueType; - -template -struct DeviceValueType { - using type = __OPENCL_GLOBAL_AS__ dataT; -}; - -template -struct DeviceValueType { - using type = __OPENCL_CONSTANT_AS__ dataT; -}; - -template -struct DeviceValueType { - using type = __OPENCL_LOCAL_AS__ dataT; -}; - -template -struct DeviceValueType { - using type = dataT; -}; - template struct TargetToAS { constexpr static access::address_space AS = access::address_space::global_space;