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
[SYCL] Fix stack smashing due to different sizes of cl_bool and bool (#9561)
This patch fixes stack smashing happened during querying of available
aspects list, and also during calling `sycl-ls --verbose`. The stack
smashing happened due to different sizes of `cl_bool` and `bool` types.
Patch changes `cl_bool` to `bool` because there is no need in `cl_bool`
in this part of the code, and also adds a (probably unnecessary)
diagnostic which returns `PI_ERROR_INVALID_VALUE` - the same diagnostic
is a part of OpenCL spec for `clGetDeviceInfo` function.
0 commit comments