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 OpenCL functions clCreateBuffer and clCreateSubBuffer require the size argument to be non-zero.
Currently there are no guards against this possibility in the OpenCL backend.
Details
The above functions return the error code CL_INVALID_BUFFER_SIZE when called with size=0.
Description
The OpenCL functions
clCreateBuffer
andclCreateSubBuffer
require the size argument to be non-zero.Currently there are no guards against this possibility in the OpenCL backend.
Details
CL_INVALID_BUFFER_SIZE
when called withsize=0
.occa::opencl::buffer::malloc
andocca::opencl::memory::slice
The text was updated successfully, but these errors were encountered: