| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public <T extends Buffer> CLBuffer | cloneWith(final T directBuffer)
Implements abstract com. |
| pack-priv static CLBuffer | |
| pack-priv static <B extends Buffer> CLBuffer | |
| public CLSubBuffer | createSubBuffer(int
The offset in buffer elements. offset, int The size in buffer elements. size, final CLMemory.Creates a sub buffer with the specified region from this buffer. |
| public List | |
| public boolean | |
| pack-priv void | |
| public void | release()
Overrides com. Implements com. |
| childs | back to summary |
|---|---|
| private List<CLSubBuffer<B>> childs | |
| CLBuffer | back to summary |
|---|---|
| protected CLBuffer(final CLContext context, final long size, final long id, final int flags) | |
| CLBuffer | back to summary |
|---|---|
| protected CLBuffer(final CLContext context, final B directBuffer, final long size, final long id, final int flags) | |
| cloneWith | back to summary |
|---|---|
| public <T extends Buffer> CLBuffer Implements abstract com. Doc from com. Returns a new instance of CLMemory pointing to the same CLResource but using a different Buffer.
| |
| create | back to summary |
|---|---|
pack-priv static CLBuffer
| |
| create | back to summary |
|---|---|
| pack-priv static <B extends Buffer> CLBuffer | |
| createSubBuffer | back to summary |
|---|---|
| public CLSubBuffer Creates a sub buffer with the specified region from this buffer. If this buffer contains a NIO buffer, the sub buffer will also contain a slice matching the specified region of the parent buffer. The region is specified by the offset and size in buffer elements or bytes if this buffer does not contain any NIO buffer.
| |
| getSubBuffers | back to summary |
|---|---|
| public List Returns the list of subbuffers.
| |
| isSubBuffer | back to summary |
|---|---|
| public boolean isSubBuffer() Returns true if this is a sub buffer. | |
| onReleaseSubBuffer | back to summary |
|---|---|
| pack-priv void onReleaseSubBuffer(final CLSubBuffer<?> sub) | |
| release | back to summary |
|---|---|
| public void release() Overrides com. Implements com. Doc from com. Releases the OpenCL resource.
| |