#include <detail/persistent_device_code_cache.hpp>
Static Public Member Functions | |
static std::string | getCacheItemPath (const device &Device, const RTDeviceBinaryImage &Img, const SerializedObj &SpecConsts, const std::string &BuildOptionsString) |
static std::vector< std::vector< char > > | getItemFromDisc (const device &Device, const RTDeviceBinaryImage &Img, const SerializedObj &SpecConsts, const std::string &BuildOptionsString) |
static void | putItemToDisc (const device &Device, const RTDeviceBinaryImage &Img, const SerializedObj &SpecConsts, const std::string &BuildOptionsString, const sycl::detail::pi::PiProgram &NativePrg) |
static void | trace (const std::string &msg) |
Definition at line 59 of file persistent_device_code_cache.hpp.
|
static |
Definition at line 329 of file persistent_device_code_cache.cpp.
References pi_device_binary_struct::BinaryStart, sycl::_V1::detail::RTDeviceBinaryImage::getRawData(), sycl::_V1::detail::RTDeviceBinaryImage::getSize(), and trace().
Referenced by getItemFromDisc(), and putItemToDisc().
|
static |
Definition at line 150 of file persistent_device_code_cache.cpp.
References getCacheItemPath(), sycl::_V1::detail::LockCacheItem::isLocked(), sycl::_V1::detail::OSUtil::isPathPresent(), and trace().
Referenced by sycl::_V1::detail::ProgramManager::getOrCreatePIProgram().
|
static |
Definition at line 87 of file persistent_device_code_cache.cpp.
References getCacheItemPath(), sycl::_V1::detail::getSyclObjImpl(), sycl::_V1::detail::OSUtil::isPathPresent(), sycl::_V1::detail::OSUtil::makeDir(), PI_PROGRAM_INFO_BINARIES, PI_PROGRAM_INFO_BINARY_SIZES, PI_PROGRAM_INFO_NUM_DEVICES, piProgramGetInfo(), and trace().
Referenced by sycl::_V1::detail::ProgramManager::getBuiltPIProgram().
|
inlinestatic |
Definition at line 188 of file persistent_device_code_cache.hpp.
References std::cerr, and sycl::_V1::detail::SYCLConfig< Config >::get().
Referenced by getCacheItemPath(), getItemFromDisc(), sycl::_V1::detail::LockCacheItem::LockCacheItem(), putItemToDisc(), and sycl::_V1::detail::LockCacheItem::~LockCacheItem().