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

org.lwjgl.opencl.APPLECommandQueueSelectComputeUnits 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;

import javax.annotation.*;

import java.nio.*;

import org.lwjgl.*;

import org.lwjgl.system.*;

import static org.lwjgl.system.Checks.*;

/** Native bindings to the APPLE_command_queue_select_compute_units extension. */
public class APPLECommandQueueSelectComputeUnits {

    public static final int CL_QUEUE_NUM_COMPUTE_UNITS_APPLE = 0x10000014;

    protected APPLECommandQueueSelectComputeUnits() {
        throw new UnsupportedOperationException();
    }

    // --- [ clCreateCommandQueueWithPropertiesAPPLE ] ---

    /** Unsafe version of: {@link #clCreateCommandQueueWithPropertiesAPPLE CreateCommandQueueWithPropertiesAPPLE} */
    public static long nclCreateCommandQueueWithPropertiesAPPLE(long context, long device, long properties, long errcode_ret) {
        return APPLECommandQueuePriority.nclCreateCommandQueueWithPropertiesAPPLE(context, device, properties, errcode_ret);
    }

    /** @param errcode_ret will return an appropriate error code. If {@code errcode_ret} is {@code NULL}, no error code is returned. */
    @NativeType("cl_command_queue")
    public static long clCreateCommandQueueWithPropertiesAPPLE(@NativeType("cl_context") long context, @NativeType("cl_device_id") long device, @NativeType("cl_queue_properties_APPLE const *") PointerBuffer properties, @Nullable @NativeType("cl_int *") IntBuffer errcode_ret) {
        return APPLECommandQueuePriority.clCreateCommandQueueWithPropertiesAPPLE(context, device, properties, errcode_ret);
    }

    /** Array version of: {@link #clCreateCommandQueueWithPropertiesAPPLE CreateCommandQueueWithPropertiesAPPLE} */
    @NativeType("cl_command_queue")
    public static long clCreateCommandQueueWithPropertiesAPPLE(@NativeType("cl_context") long context, @NativeType("cl_device_id") long device, @NativeType("cl_queue_properties_APPLE const *") PointerBuffer properties, @Nullable @NativeType("cl_int *") int[] errcode_ret) {
        return APPLECommandQueuePriority.clCreateCommandQueueWithPropertiesAPPLE(context, device, properties, errcode_ret);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy