DPC++ Runtime
Runtime libraries for oneAPI DPC++
bindless_images.cpp File Reference
Include dependency graph for bindless_images.cpp:

Go to the source code of this file.

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::ext
 
 sycl::_V1::ext::oneapi
 
 sycl::_V1::ext::oneapi::experimental
 

Functions

void sycl::_V1::ext::oneapi::experimental::populate_pi_structs (const image_descriptor &desc, pi_image_desc &piDesc, pi_image_format &piFormat, size_t pitch=0)
 
void sycl::_V1::ext::oneapi::experimental::destroy_image_handle (unsampled_image_handle &imageHandle, const sycl::device &syclDevice, const sycl::context &syclContext)
 Destroy an unsampled image handle. More...
 
void sycl::_V1::ext::oneapi::experimental::destroy_image_handle (unsampled_image_handle &imageHandle, const sycl::queue &syclQueue)
 Destroy an unsampled image handle. More...
 
void sycl::_V1::ext::oneapi::experimental::destroy_image_handle (sampled_image_handle &imageHandle, const sycl::device &syclDevice, const sycl::context &syclContext)
 Destroy a sampled image handle. More...
 
void sycl::_V1::ext::oneapi::experimental::destroy_image_handle (sampled_image_handle &imageHandle, const sycl::queue &syclQueue)
 Destroy a sampled image handle. More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::alloc_image_mem (const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Allocate image memory based on image_descriptor. More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::alloc_image_mem (const image_descriptor &desc, const sycl::queue &syclQueue)
 Allocate image memory based on image_descriptor. More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::alloc_mipmap_mem (const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 [Deprecated] Allocate mipmap memory based on image_descriptor More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::alloc_mipmap_mem (const image_descriptor &desc, const sycl::queue &syclQueue)
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::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. More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::get_mip_level_mem_handle (const image_mem_handle mipMem, const unsigned int level, const sycl::queue &syclQueue)
 Retrieve the memory handle to an individual mipmap image. More...
 
void sycl::_V1::ext::oneapi::experimental::free_image_mem (image_mem_handle handle, image_type imageType, const sycl::device &syclDevice, const sycl::context &syclContext)
 Free image memory. More...
 
void sycl::_V1::ext::oneapi::experimental::free_image_mem (image_mem_handle handle, image_type imageType, const sycl::queue &syclQueue)
 Free image memory. More...
 
void sycl::_V1::ext::oneapi::experimental::free_image_mem (image_mem_handle handle, const sycl::device &syclDevice, const sycl::context &syclContext)
 [Deprecated] Free image memory More...
 
void sycl::_V1::ext::oneapi::experimental::free_image_mem (image_mem_handle handle, const sycl::queue &syclQueue)
 [Deprecated] Free image memory More...
 
void sycl::_V1::ext::oneapi::experimental::free_mipmap_mem (image_mem_handle handle, const sycl::device &syclDevice, const sycl::context &syclContext)
 [Deprecated] Free mipmap memory More...
 
void sycl::_V1::ext::oneapi::experimental::free_mipmap_mem (image_mem_handle handle, const sycl::queue &syclQueue)
 [Deprecated] Free mipmap memory More...
 
unsampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem &memHandle, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Create an image and return the device image handle. More...
 
unsampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem &memHandle, const image_descriptor &desc, const sycl::queue &syclQueue)
 Create an image and return the device image handle. More...
 
unsampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem_handle memHandle, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Create an image and return the device image handle. More...
 
unsampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem_handle memHandle, const image_descriptor &desc, const sycl::queue &syclQueue)
 Create an image and return the device image handle. More...
 
sampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem_handle memHandle, const bindless_image_sampler &sampler, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Create a sampled image and return the device image handle. More...
 
sampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem_handle memHandle, const bindless_image_sampler &sampler, const image_descriptor &desc, const sycl::queue &syclQueue)
 Create a sampled image and return the device image handle. More...
 
sampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem &memHandle, const bindless_image_sampler &sampler, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Create a sampled image and return the device image handle. More...
 
sampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (image_mem &memHandle, const bindless_image_sampler &sampler, const image_descriptor &desc, const sycl::queue &syclQueue)
 Create a sampled image and return the device image handle. More...
 
sampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (void *imgMem, size_t pitch, const bindless_image_sampler &sampler, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Create a sampled image and return the device image handle. More...
 
sampled_image_handle sycl::_V1::ext::oneapi::experimental::create_image (void *imgMem, size_t pitch, const bindless_image_sampler &sampler, const image_descriptor &desc, const sycl::queue &syclQueue)
 Create a sampled image and return the device image handle. More...
 
template<>
interop_mem_handle sycl::_V1::ext::oneapi::experimental::import_external_memory< external_mem_fd > (external_mem_descriptor< external_mem_fd > externalMem, const sycl::device &syclDevice, const sycl::context &syclContext)
 
template<>
interop_mem_handle sycl::_V1::ext::oneapi::experimental::import_external_memory< external_mem_fd > (external_mem_descriptor< external_mem_fd > externalMem, const sycl::queue &syclQueue)
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::map_external_image_memory (interop_mem_handle memHandle, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Maps an interop memory handle to an image memory handle (which may have a device optimized memory layout) More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::map_external_image_memory (interop_mem_handle memHandle, const image_descriptor &desc, const sycl::queue &syclQueue)
 Maps an interop memory handle to an image memory handle (which may have a device optimized memory layout) More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::map_external_memory_array (interop_mem_handle memHandle, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 [Deprecated] Maps an interop memory handle to an image memory handle (which may have a device optimized memory layout) More...
 
image_mem_handle sycl::_V1::ext::oneapi::experimental::map_external_memory_array (interop_mem_handle memHandle, const image_descriptor &desc, const sycl::queue &syclQueue)
 [Deprecated] Maps an interop memory handle to an image memory handle (which may have a device optimized memory layout) More...
 
void sycl::_V1::ext::oneapi::experimental::release_external_memory (interop_mem_handle interopHandle, const sycl::device &syclDevice, const sycl::context &syclContext)
 Release external memory. More...
 
void sycl::_V1::ext::oneapi::experimental::release_external_memory (interop_mem_handle interopHandle, const sycl::queue &syclQueue)
 Release external memory. More...
 
template<>
interop_semaphore_handle sycl::_V1::ext::oneapi::experimental::import_external_semaphore (external_semaphore_descriptor< external_semaphore_fd > externalSemaphoreDesc, const sycl::device &syclDevice, const sycl::context &syclContext)
 
template<>
interop_semaphore_handle sycl::_V1::ext::oneapi::experimental::import_external_semaphore (external_semaphore_descriptor< external_semaphore_fd > externalSemaphoreDesc, const sycl::queue &syclQueue)
 
void sycl::_V1::ext::oneapi::experimental::destroy_external_semaphore (interop_semaphore_handle semaphoreHandle, const sycl::device &syclDevice, const sycl::context &syclContext)
 Destroy the external semaphore handle. More...
 
void sycl::_V1::ext::oneapi::experimental::destroy_external_semaphore (interop_semaphore_handle semaphoreHandle, const sycl::queue &syclQueue)
 Destroy the external semaphore handle. More...
 
sycl::range< 3 > sycl::_V1::ext::oneapi::experimental::get_image_range (const image_mem_handle memHandle, const sycl::device &syclDevice, const sycl::context &syclContext)
 Get the range that describes the image's dimensions. More...
 
sycl::range< 3 > sycl::_V1::ext::oneapi::experimental::get_image_range (const image_mem_handle memHandle, const sycl::queue &syclQueue)
 Get the range that describes the image's dimensions. More...
 
sycl::image_channel_type sycl::_V1::ext::oneapi::experimental::get_image_channel_type (const image_mem_handle memHandle, const sycl::device &syclDevice, const sycl::context &syclContext)
 Get the channel type that describes the image memory. More...
 
sycl::image_channel_type sycl::_V1::ext::oneapi::experimental::get_image_channel_type (const image_mem_handle memHandle, const sycl::queue &syclQueue)
 Get the channel type that describes the image memory. More...
 
void * sycl::_V1::ext::oneapi::experimental::pitched_alloc_device (size_t *resultPitch, size_t widthInBytes, size_t height, unsigned int elementSizeBytes, const sycl::device &syclDevice, const sycl::context &syclContext)
 Allocate pitched USM image memory. More...
 
void * sycl::_V1::ext::oneapi::experimental::pitched_alloc_device (size_t *resultPitch, size_t widthInBytes, size_t height, unsigned int elementSizeBytes, const sycl::queue &syclQueue)
 Allocate pitched USM image memory. More...
 
void * sycl::_V1::ext::oneapi::experimental::pitched_alloc_device (size_t *resultPitch, const image_descriptor &desc, const sycl::queue &syclQueue)
 Allocate pitched USM image memory. More...
 
void * sycl::_V1::ext::oneapi::experimental::pitched_alloc_device (size_t *resultPitch, const image_descriptor &desc, const sycl::device &syclDevice, const sycl::context &syclContext)
 Allocate pitched USM image memory. More...
 
unsigned int sycl::_V1::ext::oneapi::experimental::get_image_num_channels (const image_mem_handle memHandle, const sycl::device &syclDevice, const sycl::context &syclContext)
 Get the number of channels that describes the image memory. More...
 
unsigned int sycl::_V1::ext::oneapi::experimental::get_image_num_channels (const image_mem_handle memHandle, const sycl::queue &syclQueue)
 Get the number of channels that describes the image memory. More...