16 #include <type_traits>
20 inline namespace _V1 {
21 namespace property::image {
27 use_mutex(std::mutex &MutexRef) : MMutex(MutexRef) {}
48 template <
int Dimensions,
typename AllocatorT>
class image;
49 template <
int Dimensions,
typename AllocatorT>
class sampled_image;
53 template <
int Dimensions,
typename AllocatorT>
55 image<Dimensions, AllocatorT>> : std::true_type {};
56 template <
int Dimensions,
typename AllocatorT>
59 template <
int Dimensions,
typename AllocatorT>
61 image<Dimensions, AllocatorT>> : std::true_type {};
64 template <
int Dimensions,
typename AllocatorT>
68 template <
int Dimensions,
typename AllocatorT>
72 template <
int Dimensions,
typename AllocatorT>
76 template <
int Dimensions,
typename AllocatorT>
80 template <
int Dimensions,
typename AllocatorT>
84 template <
int Dimensions,
typename AllocatorT>
The context class represents a SYCL context on which kernel functions may be executed.
Defines a shared image data.
sycl::context get_context() const
context_bound(sycl::context BoundContext)
use_mutex(std::mutex &MutexRef)
std::mutex * get_mutex_ptr() const