DPC++ Runtime
Runtime libraries for oneAPI DPC++
cm_surface_ptr_t Struct Reference

#include <esimd_emulator/pi_esimd_emulator.hpp>

Collaboration diagram for cm_surface_ptr_t:

Public Types

enum  SurfaceType {
  TypeNone, TypeRegularBuffer, TypeUserProvidedBuffer, TypeRegularImage,
  TypeUserProvidedImage
}
 

Public Attributes

SurfaceType tag = TypeNone
 
union {
   cm_support::CmBuffer *   RegularBufPtr = nullptr
 
   cm_support::CmBufferUP *   UPBufPtr
 
   cm_support::CmSurface2D *   RegularImgPtr
 
   cm_support::CmSurface2DUP *   UPImgPtr
 
}; 
 

Detailed Description

Definition at line 118 of file pi_esimd_emulator.hpp.

Member Enumeration Documentation

◆ SurfaceType

Enumerator
TypeNone 
TypeRegularBuffer 
TypeUserProvidedBuffer 
TypeRegularImage 
TypeUserProvidedImage 

Definition at line 122 of file pi_esimd_emulator.hpp.

Member Data Documentation

◆ @1

union { ... }

◆ RegularBufPtr

cm_support::CmBuffer* cm_surface_ptr_t::RegularBufPtr = nullptr

Definition at line 132 of file pi_esimd_emulator.hpp.

Referenced by piEnqueueMemBufferRead(), and piMemBufferCreate().

◆ RegularImgPtr

cm_support::CmSurface2D* cm_surface_ptr_t::RegularImgPtr

Definition at line 134 of file pi_esimd_emulator.hpp.

Referenced by piEnqueueMemImageRead(), and piMemImageCreate().

◆ tag

◆ UPBufPtr

cm_support::CmBufferUP* cm_surface_ptr_t::UPBufPtr

Definition at line 133 of file pi_esimd_emulator.hpp.

Referenced by piMemBufferCreate().

◆ UPImgPtr

cm_support::CmSurface2DUP* cm_surface_ptr_t::UPImgPtr

Definition at line 135 of file pi_esimd_emulator.hpp.

Referenced by piMemImageCreate().


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