DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
pi_device_binaries_struct Struct Reference

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

#include <CL/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 840 of file pi.h.

Member Data Documentation

◆ DeviceBinaries

pi_device_binary pi_device_binaries_struct::DeviceBinaries

Device binaries data.

Definition at line 848 of file pi.h.

Referenced by cl::sycl::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 850 of file pi.h.

◆ HostEntriesEnd

_pi_offload_entry* pi_device_binaries_struct::HostEntriesEnd

Definition at line 851 of file pi.h.

◆ NumDeviceBinaries

uint16_t pi_device_binaries_struct::NumDeviceBinaries

Number of device binaries in this descriptor.

Definition at line 846 of file pi.h.

Referenced by cl::sycl::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 844 of file pi.h.


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