All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opencl.QCOMEXTHostPtrIOCoherent Maven / Gradle / Ivy

Go to download

An open, royalty-free standard for cross-platform, parallel programming of diverse processors found in personal computers, servers, mobile devices and embedded platforms.

The newest version!
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opencl;

/**
 * Native bindings to the qcom_ext_host_ptr_iocoherent extension.
 * 
 * 

This extension extends the functionality provided by {@code cl_qcom_ext_host_ptr} by adding a new host cache policy. It allows applications to specify * a new value, {@link #CL_MEM_HOST_IOCOHERENT_QCOM MEM_HOST_IOCOHERENT_QCOM}, for {@code 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 {@link CL11 CL11} and {@link QCOMEXTHostPtr qcom_ext_host_ptr}.

*/ public final class QCOMEXTHostPtrIOCoherent { /** New accepted value for {@code cl_mem_ext_host_ptr::host_cache_policy}. */ public static final int CL_MEM_HOST_IOCOHERENT_QCOM = 0x40A9; private QCOMEXTHostPtrIOCoherent() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy