Developer Guide

Contents

FPGA Accessor Properties

The following table summarizes FPGA accessor properties:
FPGA Accessor Properties
Property
Description
Example
buffer_location
<index>
Instructs the host to allocate a buffer to a specific global memory type.
It identifies the index of the global memory type in the
board_spec.xml
file of your Custom Platform. The index starts at 0 and follows the order in which the global memory appears in the
board_spec.xml
. If you do not specify the
buffer_location
property, the host allocates the buffer to the default memory type automatically.
ONEAPI::accessor_property_list PL{INTEL::buffer_location<2>}; accessor accessor(buffer, cgh, read_only, PL);
no_alias
Notifies the compiler that all modifications to the memory locations accessed (directly or indirectly) by an accessor during kernel execution is done through the same accessor (directly or indirectly) and not by any other accessor or USM pointer in the kernel. This is an unchecked assertion by the programmer and results in an undefined behavior if it is violated.
ONEAPI::accessor_property_list PL{ONEAPI::no_alias}; accessor accessor(buffer, cgh, read_only, PL);

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.