File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1515#include < type_traits>
1616#endif
1717
18- #ifdef __SYCL_DEVICE_ONLY__
19- // Request a fixed-size allocation in local address space at kernel scope.
20- // Required for group_local_memory and work_group_static.
21- extern " C" __DPCPP_SYCL_EXTERNAL __attribute__ ((opencl_local)) std::uint8_t *
22- __sycl_allocateLocalMemory(std::size_t Size, std::size_t Alignment);
23- // Request a placeholder for a dynamically-sized buffer in local address space
24- // at kernel scope. Required for work_group_static.
25- extern " C" __DPCPP_SYCL_EXTERNAL __attribute__ ((opencl_local)) std::uint8_t *
26- __sycl_dynamicLocalMemoryPlaceholder();
27- #endif
2818namespace sycl {
2919inline namespace _V1 {
3020namespace access {
Original file line number Diff line number Diff line change 99
1010#include < sycl/access/access.hpp> // for address_space, decorated
1111#include < sycl/detail/defines_elementary.hpp> // for __SYCL_ALWAYS_INLINE
12+ #include < sycl/detail/sycl_builtins.hpp> // for __sycl_allocateLocalMemory
1213#include < sycl/detail/type_traits.hpp> // for is_group
1314#include < sycl/exception.hpp> // for exception
1415#include < sycl/ext/intel/usm_pointers.hpp> // for multi_ptr
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88#pragma once
99
10- #include < sycl/detail/defines_elementary.hpp> // for __SYCL_ALWAYS_INLINE
11- #include < sycl/exception.hpp> // for exception
10+ #include < sycl/detail/defines_elementary.hpp> // for __SYCL_ALWAYS_INLINE
11+ #include < sycl/detail/sycl_builtins.hpp> // for __sycl_allocateLocalMemory
12+ #include < sycl/exception.hpp> // for exception
1213#include < sycl/ext/oneapi/properties/properties.hpp> // for properties
1314
1415namespace sycl {
You can’t perform that action at this time.
0 commit comments