From c1a352da0f237caa44848107d1c870c30b341615 Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Tue, 25 Feb 2020 16:31:19 +0300 Subject: [PATCH] [SYCL][NFC] Remove dead code Signed-off-by: Alexey Bader --- sycl/include/CL/sycl/access/access.hpp | 23 ----------------------- 1 file changed, 23 deletions(-) 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;