Disable Hardware Kernel Invocation Queue (-Xsno-hardware-kernel-invocation-queue)
-Xsno-hardware-kernel-invocation-queue
)To direct the
option in your
Intel® oneAPI
to reduce kernel area use by removing kernel invocation queue in SYCL* kernel, include the
DPC++/C++
Compiler-Xsno-hardware-kernel-invocation-queue
dpcpp
command.
Example
dpcpp -fintelfpga -Xshardware -Xsno-hardware-kernel-invocation-queue <source_file>.cpp
Using this option may result in longer kernel execution time as the kernel invocation queue allows SYCL runtime environment to queue kernel launches in accelerator so that the accelerator can start execution on the next invocation as soon as previous invocation of the same kernel is complete.
Use the
-Xsno-hardware-kernel-invocation-queue
option only when your kernel execution time is much greater than the system and SYCL runtime environment overhead hidden by the kernel invocation queue (20-100us), or if the
Intel® oneAPI
has a difficulty fitting your kernel.
DPC++/C++
CompilerRefer to
Utilizing Hardware Kernel Invocation Queue for more information about how to utilize the kernel invocation queue.