org.lwjgl.opencl.INTELMemForceHostMemory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opencl Show documentation
Show all versions of lwjgl-opencl Show documentation
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 intel_mem_force_host_memory extension.
*
* This extension allows an application to override driver heuristics to force allocation of a buffer memory object in host memory. Host memory is
* described in the {@code cl_intel_unified_shared_memory} extension.
*
* Allocating a buffer memory object in host memory trades off wide accessibility and transfer benefits for higher per-access costs. Buffer memory objects
* in host memory may also be subject to additional usage restrictions.
*
* Requires {@link CL12 OpenCL 1.2}.
*/
public final class INTELMemForceHostMemory {
/** Flag of type {@code cl_mem_flags}, used when creating a buffer object to force allocation of a buffer memory object in host memory. */
public static final int CL_MEM_FORCE_HOST_MEMORY_INTEL = (1 << 20);
private INTELMemForceHostMemory() {}
}