The underlying cl_mem
.
The underlying cl_mem
.
Returns an asynchronous operation of a buffer on host.
Returns an asynchronous operation of a buffer on host.
The buffer may be FloatBuffer,
DoubleBuffer
or other buffer types according to Element
.
The buffer is allocated by lwjgl, not JRE.
As a result, you can only use the buffer inside a map
or flatMap
block,
then it will be released by Do automatically.
Assigning the buffer to another variable used outside map
or flatMap
block
will cause memory access error.
A cl_mem whose CL_MEM_TYPE is buffer CL_MEM_OBJECT_BUFFER.
The underlying
cl_mem
.comment out
extends AnyVal
in case of https://github.com/scala/bug/issues/10647