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
A null terminated string is returned by OpenCL query function calls if the return type of the information being queried is a char[].
We should better document the behavior for strings passed into and out of OpenCL, such as the expected string encoding, whether strings are null-terminated, etc. As one possibility, we could add "string representations" section similar to the one in Vulkan specification:
Currently, there is minimal information in the OpenCL specification about strings that are passed into and out of OpenCL, and it is in a footnote:
https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_API.html#_footnotedef_3
We should better document the behavior for strings passed into and out of OpenCL, such as the expected string encoding, whether strings are null-terminated, etc. As one possibility, we could add "string representations" section similar to the one in Vulkan specification:
https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html#fundamentals-strings
The text was updated successfully, but these errors were encountered: