17 #include <type_traits>
21 inline namespace _V1 {
23 namespace property::buffer {
29 use_mutex(std::mutex &MutexRef) : MMutex(MutexRef) {}
49 detail::PropWithDataKind::BufferMemChannel> {
61 sycl::detail::PropWithDataKind::AccPropBufferLocation> {
72 namespace ext::oneapi::property::buffer {
75 sycl::detail::BufferUsePinnedHostMemory> {};
79 template <
typename T,
int Dimensions,
typename AllocatorT,
typename Enable>
83 template <
typename T,
int Dimensions,
typename AllocatorT>
85 buffer<T, Dimensions, AllocatorT, void>>
87 template <
typename T,
int Dimensions,
typename AllocatorT>
89 buffer<T, Dimensions, AllocatorT, void>>
91 template <
typename T,
int Dimensions,
typename AllocatorT>
93 buffer<T, Dimensions, AllocatorT, void>>
95 template <
typename T,
int Dimensions,
typename AllocatorT>
97 buffer<T, Dimensions, AllocatorT, void>>
99 template <
typename T,
int Dimensions,
typename AllocatorT>
101 buffer<T, Dimensions, AllocatorT, void>>
103 template <
typename T,
int Dimensions,
typename AllocatorT>
105 buffer<T, Dimensions, AllocatorT, void>>
Defines a shared array that can be used by kernels in queues.
The context class represents a SYCL context on which kernel functions may be executed.
sycl::context get_context() const
context_bound(sycl::context BoundContext)
buffer_location(uint64_t Location)
uint64_t get_buffer_location() const
mem_channel(uint32_t Channel)
uint32_t get_channel() const
use_mutex(std::mutex &MutexRef)
std::mutex * get_mutex_ptr() const
constexpr buffer_location_key::value_t< N > buffer_location