In get_device_extensions in opencl_util.cpp, the extension string is currently limited to 1024 characters. Any devices with an extension string longer that 1024 will be lost. The fix is similar to shat is needed for OpenGL. As an example the current Intel OpenCL device string is longer than 1024 chars.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
it doesnt violate 1.2 spec https://www.khronos.org/registry/OpenCL/sdk/1.2/docs/man/xhtml/clGetDeviceInfo.html and 1024 should be more flexible, agree
| intern/cycles/device/opencl/opencl_util.cpp | ||
|---|---|---|
| 1200 | do we need to delete as we continue referencing pointer by device_extension? | |
| intern/cycles/device/opencl/opencl_util.cpp | ||
|---|---|---|
| 1200 | good point , agree | |