15 #ifdef __SYCL_DEVICE_ONLY__
20 inline namespace _V1 {
21 namespace ext::oneapi::experimental {
23 #ifdef __SYCL_DEVICE_ONLY__
35 template <
typename ElementType,
auto &SizeSpecName,
38 [[__sycl_detail__::__uses_aspects__(aspect::ext_oneapi_private_alloca)]]
private_ptr<
52 template <
typename ElementType, std::size_t
Alignment,
auto &SizeSpecName,
55 [[__sycl_detail__::__uses_aspects__(aspect::ext_oneapi_private_alloca)]]
private_ptr<
61 template <
typename ElementType,
auto &SizeSpecName,
64 throw exception(sycl::errc::feature_not_supported,
65 "sycl::ext::oneapi::experimental::private_alloca is not "
69 template <
typename ElementType, std::size_t
Alignment,
auto &SizeSpecName,
73 throw exception(sycl::errc::feature_not_supported,
74 "sycl::ext::oneapi::experimental::aligned_private_alloca is "
75 "not supported on host");
#define __SYCL_BUILTIN_ALIAS(x)
private_ptr< ElementType, DecorateAddress > private_alloca(kernel_handler &kh)
private_ptr< ElementType, DecorateAddress > aligned_private_alloca(kernel_handler &kh)
multi_ptr< ElementType, access::address_space::private_space, IsDecorated > private_ptr