DPC++ Runtime
Runtime libraries for oneAPI DPC++
image_impl.cpp File Reference
#include <detail/context_impl.hpp>
#include <detail/image_impl.hpp>
#include <detail/memory_manager.hpp>
#include <algorithm>
#include <vector>
Include dependency graph for image_impl.cpp:

Go to the source code of this file.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::detail
 

Functions

template<typename Param >
static bool sycl::_V1::detail::checkImageValueRange (const std::vector< device > &Devices, const size_t Value)
 
template<typename T , typename... Args>
static bool sycl::_V1::detail::checkAnyImpl (T)
 
template<typename ValT , typename VarT , typename... Args>
static bool sycl::_V1::detail::checkAnyImpl (ValT Value, VarT Variant, Args... Arguments)
 
template<typename T , typename... Args>
static bool sycl::_V1::detail::checkAny (const T Value, Args... Arguments)
 
uint8_t sycl::_V1::detail::getImageNumberChannels (image_channel_order Order)
 
uint8_t sycl::_V1::detail::getImageElementSize (uint8_t NumChannels, image_channel_type Type)
 
RT::PiMemImageChannelOrder sycl::_V1::detail::convertChannelOrder (image_channel_order Order)
 
image_channel_order sycl::_V1::detail::convertChannelOrder (RT::PiMemImageChannelOrder Order)
 
RT::PiMemImageChannelType sycl::_V1::detail::convertChannelType (image_channel_type Type)
 
image_channel_type sycl::_V1::detail::convertChannelType (RT::PiMemImageChannelType Type)
 
template<typename T >
static void sycl::_V1::detail::getImageInfo (const ContextImplPtr Context, RT::PiMemImageInfo Info, T &Dest, RT::PiMem InteropMemObject)