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
There is clearly an issue with some OpenCL devices returning invalid CStrings in response to calling clGetProgramBuildInfo with CL_PROGRAM_BUILD_LOG and probably in other circumstances too.
The cl3 and opencl3 libraries should be resilient to such issues. Therefore, InfoType should be changed to make it easier to handle invalid CStrings from the OpenCL API in the opencl3 library.
The text was updated successfully, but these errors were encountered:
Remove `Str` enum value, use `VecUchar` instead.
Add `to_str_unchecked` method to convert a `VecUchar` into a `CString` including all `nul` characters.
@vmx has raised an issue (opencl3 #8) which is very similar to #1 raised by @jsatka.
There is clearly an issue with some OpenCL devices returning invalid
CStrings
in response to calling clGetProgramBuildInfo withCL_PROGRAM_BUILD_LOG
and probably in other circumstances too.The
cl3
andopencl3
libraries should be resilient to such issues. Therefore,InfoType
should be changed to make it easier to handle invalidCStrings
from the OpenCL API in the opencl3 library.The text was updated successfully, but these errors were encountered: