DPC++ Runtime
Runtime libraries for oneAPI DPC++
pi_hip.hpp File Reference

Declarations for HIP Plugin. More...

#include "sycl/detail/pi.h"
#include <array>
#include <atomic>
#include <cassert>
#include <cstring>
#include <functional>
#include <hip/hip_runtime.h>
#include <limits>
#include <mutex>
#include <numeric>
#include <stdint.h>
#include <string>
#include <vector>
#include <adapters/hip/command_buffer.hpp>
#include <adapters/hip/context.hpp>
#include <adapters/hip/device.hpp>
#include <adapters/hip/event.hpp>
#include <adapters/hip/kernel.hpp>
#include <adapters/hip/memory.hpp>
#include <adapters/hip/platform.hpp>
#include <adapters/hip/program.hpp>
#include <adapters/hip/queue.hpp>
#include <adapters/hip/sampler.hpp>
#include "pi2ur.hpp"
Include dependency graph for pi_hip.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _pi_platform
 
struct  _pi_device
 
struct  _pi_context
 
struct  _pi_mem
 
struct  _pi_queue
 
struct  _pi_event
 
struct  _pi_program
 
struct  _pi_kernel
 
struct  _pi_sampler
 
struct  _pi_ext_command_buffer
 

Macros

#define _PI_HIP_PLUGIN_VERSION   1
 
#define _PI_HIP_PLUGIN_VERSION_STRING    _PI_PLUGIN_VERSION_STRING(_PI_HIP_PLUGIN_VERSION)
 

Typedefs

using _pi_stream_guard = std::unique_lock< std::mutex >
 

Detailed Description

Declarations for HIP Plugin.

It is the interface between the device-agnostic SYCL runtime layer and underlying HIP runtime.

Definition in file pi_hip.hpp.

Macro Definition Documentation

◆ _PI_HIP_PLUGIN_VERSION

#define _PI_HIP_PLUGIN_VERSION   1

Definition at line 23 of file pi_hip.hpp.

◆ _PI_HIP_PLUGIN_VERSION_STRING

#define _PI_HIP_PLUGIN_VERSION_STRING    _PI_PLUGIN_VERSION_STRING(_PI_HIP_PLUGIN_VERSION)

Definition at line 25 of file pi_hip.hpp.

Typedef Documentation

◆ _pi_stream_guard

using _pi_stream_guard = std::unique_lock<std::mutex>

Definition at line 55 of file pi_hip.hpp.