Open IgorErin opened 1 year ago
We can
--cl-std=CL1.2
to compilerI don't quite understand why the problem with allocating local memory should be solved at the translator level. Is it fair to implicitly move a potential user's code this way? Doesn't this change the semantics of the program too much?
The ability to declare local memory in not only at the outermost level in the kernel.
In OpenCL 3.0: variables declared in the outermost compound statement inside the body of the kernel function can be qualified by the local or constant address spaces.
To Reproduce Steps to reproduce the behavior:
Expected behavior Successful compilation and execution.
Desktop: