Class INTELMemAllocBufferLocation
- java.lang.Object
-
- org.lwjgl.opencl.INTELMemAllocBufferLocation
-
public final class INTELMemAllocBufferLocation extends java.lang.ObjectNative bindings to the intel_mem_alloc_buffer_location extension.On some devices, global memory may be partitioned into disjoint regions. This may be to enable control over specific characteristics such as available bandwidths on memory interfaces, or performance on types of access patterns.
This extension allows a user to explicitly specify the partition/region of global memory in which an allocation should reside, by passing an implementation defined numerical ID that identifies the region to the allocation function.
Requires
CL30orintel_create_buffer_with_properties.
-
-
Field Summary
Fields Modifier and Type Field Description static intCL_MEM_ALLOC_BUFFER_LOCATION_INTELAccepted property for thepropertiesparameter toCreateBufferWithPropertiesINTEL,CreateBufferWithProperties,DeviceMemAllocINTEL),SharedMemAllocINTEL,HostMemAllocINTELto specify requested global memory type ID.
-
-
-
Field Detail
-
CL_MEM_ALLOC_BUFFER_LOCATION_INTEL
public static final int CL_MEM_ALLOC_BUFFER_LOCATION_INTEL
Accepted property for thepropertiesparameter toCreateBufferWithPropertiesINTEL,CreateBufferWithProperties,DeviceMemAllocINTEL),SharedMemAllocINTEL,HostMemAllocINTELto specify requested global memory type ID.It can be passed into
GetMemAllocInfoINTELto get the buffer location of allocated usm memory, as well asGetMemObjectInfoto get buffer location of the buffer. If no property was specified, then the ID corresponding to default global memory is returned.- See Also:
- Constant Field Values
-
-