FPGA Kernel Attributes
The following table summarizes kernel attributes:
Attribute
| Description
| Example
|
---|---|---|
[[intel::scheduler_target_fmax_mhz(N)]] | Determines the pipelining effort the scheduler attempts during the scheduling process.
|
|
[[intel::max_work_group_size(Z, Y, X)]] | Specifies a maximum or the required work-group size for optimizing hardware use of the SYCL kernel without involving excess logic.
|
|
[[intel::max_global_work_dim(0)]] | Omits logic that generates and dispatches global, local, and group IDs into the compiled kernel.
|
|
[[intel::num_simd_work_items(N)] | Specifies the number of work items within a work group that the compiler executes in a SIMD or vectorized manner.
|
|
[[intel::no_global_work_offset(1)]] | Omits generating hardware required to support global work offsets.
|
|
[[intel::kernel_args_restrict]] | Ignores the dependencies between accessor arguments in a SYCL* kernel.
|
|
[[intel::use_stall_enable_clusters]] | Reduces the area and latency of your kernel.
|
|