wwood10
New Contributor
7 years ago[FPGA SDK for OpenCL] Problem with setting multiple compute units
I have recently been trying to compile an NDRange kernel with 4 compute units (by using the num_compute_units attribute), however when I view the report it says that the number of compute units is 1. Also, when I program my device with this kernel and run clGetDeviceInfo with CL_DEVICE_MAX_COMPUTE_UNITS, it also returns me 1. Is there something I am missing?
It seems like this is the correct way to create more compute units, and the design is taking up more FPGA resources then my previous design without the attribute, but it does not perform any different.
I have attached a screenshot of the report which also shows the source code for the kernel. Thanks for the help!