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

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

There is a newer version: 3.3.4
Show 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 org.lwjgl.system.*;

import static org.lwjgl.system.dyncall.DynCallback.*;

/**
 * Instances of this interface may be passed to the {@link CL10#clEnqueueNativeKernel EnqueueNativeKernel} method.
 * 
 * 

Type

* *
 * void (*) (
 *     void *args
 * )
*/ @FunctionalInterface @NativeType("void (*) (void *)") public interface CLNativeKernelI extends CallbackI.V { String SIGNATURE = Callback.__stdcall("(p)v"); @Override default String getSignature() { return SIGNATURE; } @Override default void callback(long args) { invoke( dcbArgPointer(args) ); } /** * Will be called by the OpenCL using {@link CL10#clEnqueueNativeKernel EnqueueNativeKernel}. * * @param args a pointer to the arguments list */ void invoke(@NativeType("void *") long args); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy