org.lwjgl.opencl.ARMProtectedMemoryAllocation 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 arm_protected_memory_allocation extension.
*
* This extensions enables the creation of buffers and images backed by protected memory, i.e. memory protected using TrustZone Media Protection.
*
* Requires {@link CL12 CL12}.
*/
public final class ARMProtectedMemoryAllocation {
/**
* New flag added to {@code cl_mem_flags}.
*
* Specifies that the memory object being created will be backed by protected memory. When this flag is present, the only host flag allowed is
* {@link CL12#CL_MEM_HOST_NO_ACCESS MEM_HOST_NO_ACCESS}. If host flags are omitted, {@code CL_MEM_HOST_NO_ACCESS} is assumed.
*/
public static final int CL_MEM_PROTECTED_ALLOC_ARM = 1 << 36;
private ARMProtectedMemoryAllocation() {}
}