23 inline namespace _V1 {
28 namespace ext::oneapi::experimental {
53 raw_handle_type handle{
nullptr};
83 return impl->get_descriptor();
91 unsigned int get_num_channels()
const;
97 std::shared_ptr<detail::image_mem_impl>
impl;
100 friend decltype(Obj::impl)
117 template <>
struct hash<
sycl::ext::oneapi::experimental::image_mem> {
120 return hash<std::shared_ptr<
The context class represents a SYCL context on which kernel functions may be executed.
The SYCL device class encapsulates a single SYCL device on which kernels may be executed.
sycl::device get_device() const
sycl::context get_context() const
raw_handle_type get_handle() const
const image_descriptor & get_descriptor() const
image_mem_impl(const image_descriptor &desc, const device &syclDevice, const context &syclContext)
A class that represents image memory.
image_mem(const image_descriptor &desc, const device &syclDevice, const context &syclContext)
bool operator!=(const image_mem &rhs) const
image_mem(image_mem &&rhs)=default
raw_handle_type get_handle() const
image_mem(const image_descriptor &desc, const queue &syclQueue)
image_mem(const image_mem &)=default
std::shared_ptr< detail::image_mem_impl > impl
image_mem & operator=(const image_mem &)=default
sycl::device get_device() const
bool operator==(const image_mem &rhs) const
image_mem & operator=(image_mem &&)=default
sycl::context get_context() const
const image_descriptor & get_descriptor() const
Encapsulates a single SYCL queue which schedules kernels on a SYCL device.
Defines the iteration domain of either a single work-group in a parallel dispatch,...
decltype(Obj::impl) getSyclObjImpl(const Obj &SyclObject)
image_copy_flags
Direction to copy data from bindless image handle (Host -> Device) (Device -> Host) etc.
const CoordT const float level
image_mem_handle get_mip_level_mem_handle(const image_mem_handle mipMem, const unsigned int level, const sycl::device &syclDevice, const sycl::context &syclContext)
Retrieve the memory handle to an individual mipmap image.
image_type
image type enum
size_t operator()(const sycl::ext::oneapi::experimental::image_mem &image_mem) const
A struct to describe the properties of an image.
Opaque image memory handle type.