Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class INTELMemAllocBufferLocation

extends Object
Class Inheritance

Native 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 CL30 or intel_create_buffer_with_properties.

Field Summary

Modifier and TypeField and Description
public static final int
CL_MEM_ALLOC_BUFFER_LOCATION_INTEL

Accepted property for the properties parameter to CreateBufferWithPropertiesINTEL, CreateBufferWithProperties, DeviceMemAllocINTEL), SharedMemAllocINTEL, HostMemAllocINTEL to specify requested global memory type ID.

It can be passed into GetMemAllocInfoINTEL to get the buffer location of allocated usm memory, as well as GetMemObjectInfo to get buffer location of the buffer.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_MEM_ALLOC_BUFFER_LOCATION_INTELback to summary
public static final int CL_MEM_ALLOC_BUFFER_LOCATION_INTEL

Accepted property for the properties parameter to CreateBufferWithPropertiesINTEL, CreateBufferWithProperties, DeviceMemAllocINTEL), SharedMemAllocINTEL, HostMemAllocINTEL to specify requested global memory type ID.

It can be passed into GetMemAllocInfoINTEL to get the buffer location of allocated usm memory, as well as GetMemObjectInfo to get buffer location of the buffer. If no property was specified, then the ID corresponding to default global memory is returned.

Constructor Detail

INTELMemAllocBufferLocationback to summary
private INTELMemAllocBufferLocation()