DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::PersistentDeviceCodeCache Class Reference

#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)
 

Detailed Description

Definition at line 59 of file persistent_device_code_cache.hpp.

Member Function Documentation

◆ getCacheItemPath()

std::string sycl::_V1::detail::PersistentDeviceCodeCache::getCacheItemPath ( const device Device,
const std::vector< const RTDeviceBinaryImage * > &  SortedImgs,
const SerializedObj SpecConsts,
const std::string &  BuildOptionsString 
)
static

Definition at line 373 of file persistent_device_code_cache.cpp.

References trace().

Referenced by getItemFromDisc(), and putItemToDisc().

◆ getItemFromDisc()

std::vector< std::vector< char > > sycl::_V1::detail::PersistentDeviceCodeCache::getItemFromDisc ( const device Device,
const std::vector< const RTDeviceBinaryImage * > &  Imgs,
const SerializedObj SpecConsts,
const std::string &  BuildOptionsString 
)
static

◆ putItemToDisc()

void sycl::_V1::detail::PersistentDeviceCodeCache::putItemToDisc ( const device Device,
const std::vector< const RTDeviceBinaryImage * > &  Imgs,
const SerializedObj SpecConsts,
const std::string &  BuildOptionsString,
const ur_program_handle_t &  NativePrg 
)
static

◆ trace()

static void sycl::_V1::detail::PersistentDeviceCodeCache::trace ( const std::string &  msg)
inlinestatic

The documentation for this class was generated from the following files: