Skip to content

Commit 2aaa4ab

Browse files
committed
[SYCL] Replace constant address space with global
Signed-off-by: Mariya Podchishchaeva <[email protected]>
1 parent d2e6a26 commit 2aaa4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ struct PtrValueType<ElementType, access::address_space::global_space> {
127127

128128
template <typename ElementType>
129129
struct PtrValueType<ElementType, access::address_space::constant_space> {
130-
using type = SYCL_CONSTANT_AS ElementType;
130+
using type = SYCL_GLOBAL_AS ElementType;
131131
};
132132

133133
template <typename ElementType>

0 commit comments

Comments
 (0)