#include <detail/persistent_device_code_cache.hpp>
Static Public Member Functions | |
static std::string | getCacheItemPath (const device &Device, const std::vector< const RTDeviceBinaryImage * > &SortedImgs, const SerializedObj &SpecConsts, const std::string &BuildOptionsString) |
static std::vector< std::vector< char > > | getItemFromDisc (const device &Device, const std::vector< const RTDeviceBinaryImage * > &Imgs, const SerializedObj &SpecConsts, const std::string &BuildOptionsString) |
static void | putItemToDisc (const device &Device, const std::vector< const RTDeviceBinaryImage * > &Imgs, const SerializedObj &SpecConsts, const std::string &BuildOptionsString, const ur_program_handle_t &NativePrg) |
static void | trace (const std::string &msg) |
Definition at line 59 of file persistent_device_code_cache.hpp.
|
static |
Definition at line 373 of file persistent_device_code_cache.cpp.
References trace().
Referenced by getItemFromDisc(), and putItemToDisc().
|
static |
Definition at line 187 of file persistent_device_code_cache.cpp.
References getCacheItemPath(), sycl::_V1::detail::getSortedImages(), sycl::_V1::detail::LockCacheItem::isLocked(), sycl::_V1::detail::OSUtil::isPathPresent(), and trace().
Referenced by sycl::_V1::detail::ProgramManager::getOrCreateURProgram().
|
static |
Definition at line 115 of file persistent_device_code_cache.cpp.
References getCacheItemPath(), sycl::_V1::detail::getSortedImages(), sycl::_V1::detail::getSyclObjImpl(), sycl::_V1::detail::OSUtil::isPathPresent(), sycl::_V1::detail::OSUtil::makeDir(), and trace().
Referenced by sycl::_V1::detail::ProgramManager::getBuiltURProgram().
|
inlinestatic |
Definition at line 192 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().