You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attached example program, taken from the NRM2 documentation, aborts at runtime when using the latest Intel OpenCL platform driver (18.1.0.0920). It did not happen with previous versions.
As far as I can tell, the problem is that %REDUCE_BY_SUM inserts a local variable declaration within the body of an 'if' sentence, which is illegal according to the OpenCL 1.2 and upwards documentation.
The attached code reproduces the error (as long as the first available platform is Intel's latest version). It is the literal example from the documentation, just changing CL_DEVICE_TYPE_GPU for CL_DEVICE_TYPE_CPU. Also attached is the output from Intel's OpenCL compiler.
The attached example program, taken from the NRM2 documentation, aborts at runtime when using the latest Intel OpenCL platform driver (18.1.0.0920). It did not happen with previous versions.
As far as I can tell, the problem is that %REDUCE_BY_SUM inserts a local variable declaration within the body of an 'if' sentence, which is illegal according to the OpenCL 1.2 and upwards documentation.
The attached code reproduces the error (as long as the first available platform is Intel's latest version). It is the literal example from the documentation, just changing CL_DEVICE_TYPE_GPU for CL_DEVICE_TYPE_CPU. Also attached is the output from Intel's OpenCL compiler.
snrm2.zip
The text was updated successfully, but these errors were encountered: