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

This struct is a record of all the device code that may be offloaded. More...

#include <sycl/detail/pi.h>

Collaboration diagram for pi_device_binaries_struct:

Public Attributes

uint16_t Version
 version of this structure - for backward compatibility; all modifications which change order/type/offsets of existing fields should increment the version. More...
 
uint16_t NumDeviceBinaries
 Number of device binaries in this descriptor. More...
 
pi_device_binary DeviceBinaries
 Device binaries data. More...
 
_pi_offload_entryHostEntriesBegin
 the offload entry table (not used, for compatibility with OpenMP) More...
 
_pi_offload_entryHostEntriesEnd
 

Detailed Description

This struct is a record of all the device code that may be offloaded.

It must match the __tgt_bin_desc structure generated by the clang-offload-wrapper tool when their Version field match.

Definition at line 1122 of file pi.h.

Member Data Documentation

◆ DeviceBinaries

pi_device_binary pi_device_binaries_struct::DeviceBinaries

Device binaries data.

Definition at line 1130 of file pi.h.

Referenced by sycl::_V1::detail::ProgramManager::addImages().

◆ HostEntriesBegin

_pi_offload_entry* pi_device_binaries_struct::HostEntriesBegin

the offload entry table (not used, for compatibility with OpenMP)

Definition at line 1132 of file pi.h.

◆ HostEntriesEnd

_pi_offload_entry* pi_device_binaries_struct::HostEntriesEnd

Definition at line 1133 of file pi.h.

◆ NumDeviceBinaries

uint16_t pi_device_binaries_struct::NumDeviceBinaries

Number of device binaries in this descriptor.

Definition at line 1128 of file pi.h.

Referenced by sycl::_V1::detail::ProgramManager::addImages().

◆ Version

uint16_t pi_device_binaries_struct::Version

version of this structure - for backward compatibility; all modifications which change order/type/offsets of existing fields should increment the version.

Definition at line 1126 of file pi.h.


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