DPC++ Runtime
Runtime libraries for oneAPI DPC++
ZeCache< T > Struct Template Reference

#include <level_zero/pi_level_zero.hpp>

Inheritance diagram for ZeCache< T >:
Collaboration diagram for ZeCache< T >:

Public Types

typedef std::function< void(T &)> InitFunctionType

Public Member Functions

 ZeCache ()
Toperator-> ()

Public Attributes

InitFunctionType Compute {nullptr}
bool Computed {false}
pi_mutex ZeCacheMutex

Detailed Description

template<class T>
struct ZeCache< T >

Definition at line 252 of file pi_level_zero.hpp.

Member Typedef Documentation

◆ InitFunctionType

template<class T >
typedef std::function<void(T &)> ZeCache< T >::InitFunctionType

Definition at line 257 of file pi_level_zero.hpp.

Constructor & Destructor Documentation

◆ ZeCache()

template<class T >
ZeCache< T >::ZeCache ( )

Definition at line 262 of file pi_level_zero.hpp.

Member Function Documentation

◆ operator->()

template<class T >
T* ZeCache< T >::operator-> ( )

Definition at line 265 of file pi_level_zero.hpp.

Member Data Documentation

◆ Compute

◆ Computed

template<class T >
bool ZeCache< T >::Computed {false}

◆ ZeCacheMutex

template<class T >
pi_mutex ZeCache< T >::ZeCacheMutex

The documentation for this struct was generated from the following file: