Open ShAlireza opened 5 months ago
Thank you for the report. We will work on this.
@ShAlireza can you also provide the exact input sizes that you run the scan kernel? Thanks
Sure. IntArray input = new IntArray(256 128 4); IntArray sum = new IntArray(256);
And here is my GridScheduler: int totalLocalScanItems = 256 128 4 / 2; int localItems = totalLocalScanItems / 256;
WorkerGrid scanWorker = new WorkerGrid1D(totalLocalScanItems);
scanWorker.setLocalWork(localItems, 1, 1);
Thank you @ShAlireza, I managed to reprorduce it locally. We will work on the issue and we will get back to you.
Describe the bug
The generated OpenCL code has a syntax error.
How To Reproduce
Following is my kernel in Java.
Expected behavior
Successfully compile the code to OpenCL kernel without any error.
Computing system setup (please complete the following information):
Additional context
This is the generated OpenCL code which is wrong.