#include <detail/device_binary_image.hpp>
Public Member Functions | |
DeviceBinaryProperty (const _sycl_device_binary_property_struct *Prop) | |
uint32_t | asUint32 () const |
ByteArray | asByteArray () const |
const char * | asCString () const |
Protected Attributes | |
const _sycl_device_binary_property_struct * | Prop |
Friends | |
std::ostream & | operator<< (std::ostream &Out, const DeviceBinaryProperty &P) |
Definition at line 69 of file device_binary_image.hpp.
|
inline |
Definition at line 71 of file device_binary_image.hpp.
ByteArray sycl::_V1::detail::DeviceBinaryProperty::asByteArray | ( | ) | const |
Definition at line 69 of file device_binary_image.cpp.
References Prop, SYCL_PROPERTY_TYPE_BYTE_ARRAY, _sycl_device_binary_property_struct::Type, _sycl_device_binary_property_struct::ValAddr, and _sycl_device_binary_property_struct::ValSize.
Referenced by sycl::_V1::detail::ProgramManager::addImages(), sycl::_V1::detail::checkDevSupportDeviceRequirements(), and sycl::_V1::detail::getBinImageFromMultiMap().
const char * sycl::_V1::detail::DeviceBinaryProperty::asCString | ( | ) | const |
Definition at line 77 of file device_binary_image.cpp.
References Prop, SYCL_PROPERTY_TYPE_BYTE_ARRAY, SYCL_PROPERTY_TYPE_STRING, _sycl_device_binary_property_struct::Type, _sycl_device_binary_property_struct::ValAddr, and _sycl_device_binary_property_struct::ValSize.
Referenced by sycl::_V1::detail::ProgramManager::addImages().
uint32_t sycl::_V1::detail::DeviceBinaryProperty::asUint32 | ( | ) | const |
Definition at line 61 of file device_binary_image.cpp.
References Prop, SYCL_PROPERTY_TYPE_UINT32, _sycl_device_binary_property_struct::Type, _sycl_device_binary_property_struct::ValAddr, and _sycl_device_binary_property_struct::ValSize.
Referenced by sycl::_V1::detail::ProgramManager::addImages(), sycl::_V1::detail::appendCompileOptionsForGRFSizeProperties(), sycl::_V1::detail::checkDevSupportDeviceRequirements(), sycl::_V1::detail::ProgramManager::getDeviceLibReqMask(), sycl::_V1::detail::getUint32PropAsBool(), sycl::_V1::detail::getUint32PropAsOptStr(), and sycl::_V1::detail::device_image_impl::specialization_constants_replaced_with_default().
|
friend |
Definition at line 20 of file device_binary_image.cpp.
|
protected |
Definition at line 81 of file device_binary_image.hpp.
Referenced by asByteArray(), asCString(), and asUint32().