DPC++ Runtime
Runtime libraries for oneAPI DPC++
pi_esimd_emulator.hpp File Reference
#include <sycl/detail/iostream_proxy.hpp>
#include <sycl/detail/pi.h>
#include <atomic>
#include <cassert>
#include <mutex>
#include <unordered_map>
#include <malloc.h>
#include <cm_rt.h>
#include <sycl/ext/intel/esimd/emu/detail/esimd_emulator_device_interface.hpp>
Include dependency graph for pi_esimd_emulator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  _pi_object
struct  _pi_platform
 A PI platform stores all known PI devices, in the CUDA plugin this is just a vector of available devices since initialization is done when devices are used. More...
struct  _pi_device
 PI device mapping to a CUdevice. More...
struct  _pi_context
 PI context mapping to a CUDA context object. More...
struct  _pi_queue
 PI queue mapping on to CUstream objects. More...
struct  cm_surface_ptr_t
struct  _pi_mem
 PI Mem mapping to CUDA memory allocations, both data and texture/surface. More...
struct  _pi_mem::Mapping
struct  _pi_buffer
struct  _pi_image
struct  _pi_event
 PI Event mapping to CUevent. More...
struct  _pi_program
 Implementation of PI Program on CUDA Module object. More...
struct  _pi_kernel
 Implementation of a PI Kernel for CUDA. More...






template<class To , class From >
To pi_cast (From Value)
uint32_t pi_cast (uint64_t Value)
void die (const char *Message)

Detailed Description

Declarations for CM Emulation Plugin. It is the interface between the device-agnostic SYCL runtime layer and underlying CM Emulation

Definition in file pi_esimd_emulator.hpp.

Macro Definition Documentation



Definition at line 29 of file pi_esimd_emulator.hpp.



Definition at line 31 of file pi_esimd_emulator.hpp.

Function Documentation

◆ die()

void die ( const char *  Message)

Definition at line 53 of file pi_esimd_emulator.hpp.

References std::cerr.

◆ pi_cast() [1/2]

template<class To , class From >
To pi_cast ( From  Value)

Definition at line 38 of file pi_esimd_emulator.hpp.

◆ pi_cast() [2/2]

uint32_t pi_cast ( uint64_t  Value)

Definition at line 44 of file pi_esimd_emulator.hpp.