Intel: Is the attribute ((task)) attribute supported?

PCI Express

Category: OpenCL™
Tools: Intel® SDK for OpenCL™
Device: Arria® 10


attribute ((task)) is now replaced by attribute ((max_global_work_dim(0))).
This attribute is to omit the HW that generates the ID that was required by the NDRange Kernel when generating Single Work Item kernels.
So if you're using Single Work Item kernels, use this attribute to save HW resources.

For max_global_work_dim(0), please refer to the following document.

Intel® FPGA SDK for OpenCL™ Programming Guide
https://www.altera.com/en_US/pdfs/literature/hb/opencl-sdk/aocl_programming_guide.pdf


Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.