Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class QCOMEXTHostPtrIOCoherent

extends Object
Class Inheritance

Native bindings to the qcom_ext_host_ptr_iocoherent extension.

This extension extends the functionality provided by cl_qcom_ext_host_ptr by adding a new host cache policy. It allows applications to specify a new value, MEM_HOST_IOCOHERENT_QCOM, for cl_mem_ext_host_ptr::host_cache_policy. When the application selects this value for host cache policy, the imported allocation is mapped as io-coherent for the GPU. This in turn avoids the need for the OpenCL driver to explicitly issue CPU cache operation calls. Although GPU performance can be slower in some cases for io-coherent allocations, the overall performance can improve due to the elimination of explicit CPU cache operations.

Requires CL11 and qcom_ext_host_ptr.

Field Summary

Modifier and TypeField and Description
public static final int
CL_MEM_HOST_IOCOHERENT_QCOM

New accepted value for cl_mem_ext_host_ptr::host_cache_policy.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_MEM_HOST_IOCOHERENT_QCOMback to summary
public static final int CL_MEM_HOST_IOCOHERENT_QCOM

New accepted value for cl_mem_ext_host_ptr::host_cache_policy.

Constructor Detail

QCOMEXTHostPtrIOCoherentback to summary
private QCOMEXTHostPtrIOCoherent()