Package org.jocl
Class cl_buffer_region
java.lang.Object
org.jocl.cl_buffer_region
Java port of a cl_buffer_region
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new, uninitialized cl_buffer_regioncl_buffer_region
(long origin, long size) Creates a new cl_buffer_region with the given origin and size -
Method Summary
-
Field Details
-
origin
public long originThe origin of the region, in bytes -
size
public long sizeThe size of the region, in bytes
-
-
Constructor Details
-
cl_buffer_region
public cl_buffer_region()Creates a new, uninitialized cl_buffer_region -
cl_buffer_region
public cl_buffer_region(long origin, long size) Creates a new cl_buffer_region with the given origin and size- Parameters:
origin
- The origin, in bytessize
- The size, in bytes
-
-
Method Details