#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>
Go to the source code of this file.
Classes | |
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... | |
Namespaces | |
cm_support | |
Macros | |
#define | _PI_ESIMD_PLUGIN_VERSION 1 |
#define | _PI_ESIMD_PLUGIN_VERSION_STRING _PI_PLUGIN_VERSION_STRING(_PI_ESIMD_PLUGIN_VERSION) |
Functions | |
template<class To , class From > | |
To | pi_cast (From Value) |
template<> | |
uint32_t | pi_cast (uint64_t Value) |
void | die (const char *Message) |
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.
#define _PI_ESIMD_PLUGIN_VERSION 1 |
Definition at line 29 of file pi_esimd_emulator.hpp.
#define _PI_ESIMD_PLUGIN_VERSION_STRING _PI_PLUGIN_VERSION_STRING(_PI_ESIMD_PLUGIN_VERSION) |
Definition at line 31 of file pi_esimd_emulator.hpp.
void die | ( | const char * | Message | ) |
Definition at line 53 of file pi_esimd_emulator.hpp.
References std::cerr.
To pi_cast | ( | From | Value | ) |
Definition at line 38 of file pi_esimd_emulator.hpp.
uint32_t pi_cast | ( | uint64_t | Value | ) |
Definition at line 44 of file pi_esimd_emulator.hpp.