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

org.lwjgl.opencl.IMGCachedAllocations 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 img_cached_allocations extension.
 * 
 * 

This extension extends the functionality provided by {@link CL10#clCreateBuffer CreateBuffer} and {@link CL12#clCreateImage CreateImage} to allow the OpenCL implementation to allocate memory on the * device which is also cached on the host CPU.

* *

Requires {@link CL12 CL12}.

*/ public final class IMGCachedAllocations { /** Accepted value for the {@code flags} parameter to {@link CL10#clCreateBuffer CreateBuffer} and {@link CL12#clCreateImage CreateImage}. */ public static final int CL_MEM_USE_UNCACHED_CPU_MEMORY_IMG = 1 << 26, CL_MEM_USE_CACHED_CPU_MEMORY_IMG = 1 << 27; private IMGCachedAllocations() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy