public final class ALTERACompilerMode
extends java.lang.Object
This extension specifies alternative device code compilation flows for OpenCL.
In standard OpenCL, there are two methods for preparing code for execution on an OpenCL device. The first is to compile OpenCL C code from source text using an online compiler. The second is to load a precompiled device binary.
This extension specifies mechanisms to enable alternative workflows for compiling and loading device code. They enable simplified or optimized support for the following development and deployment scenarios:
The development and deployment of a particular application may involve more than one of these scenarios.
| Modifier and Type | Field and Description |
|---|---|
static int |
CL_CONTEXT_COMPILER_MODE_ALTERA
New context properties to be used in the
properties array supplied to to CreateContext or CreateContextFromType. |
static int |
CL_CONTEXT_COMPILER_MODE_OFFLINE_ALTERA
Values to be supplied for context property
CONTEXT_COMPILER_MODE_ALTERA. |
static int |
CL_CONTEXT_COMPILER_MODE_OFFLINE_CREATE_EXE_LIBRARY_ALTERA
Values to be supplied for context property
CONTEXT_COMPILER_MODE_ALTERA. |
static int |
CL_CONTEXT_COMPILER_MODE_OFFLINE_USE_EXE_LIBRARY_ALTERA
Values to be supplied for context property
CONTEXT_COMPILER_MODE_ALTERA. |
static int |
CL_CONTEXT_COMPILER_MODE_PRELOADED_BINARY_ONLY_ALTERA
Values to be supplied for context property
CONTEXT_COMPILER_MODE_ALTERA. |
static int |
CL_CONTEXT_OFFLINE_DEVICE_ALTERA
New context properties to be used in the
properties array supplied to to CreateContext or CreateContextFromType. |
static int |
CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_ALTERA
New context properties to be used in the
properties array supplied to to CreateContext or CreateContextFromType. |
public static final int CL_CONTEXT_COMPILER_MODE_ALTERA
properties array supplied to to CreateContext or CreateContextFromType.public static final int CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_ALTERA
properties array supplied to to CreateContext or CreateContextFromType.public static final int CL_CONTEXT_OFFLINE_DEVICE_ALTERA
properties array supplied to to CreateContext or CreateContextFromType.public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_ALTERA
CONTEXT_COMPILER_MODE_ALTERA.public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_CREATE_EXE_LIBRARY_ALTERA
CONTEXT_COMPILER_MODE_ALTERA.public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_USE_EXE_LIBRARY_ALTERA
CONTEXT_COMPILER_MODE_ALTERA.public static final int CL_CONTEXT_COMPILER_MODE_PRELOADED_BINARY_ONLY_ALTERA
CONTEXT_COMPILER_MODE_ALTERA.Copyright LWJGL. All Rights Reserved. License terms.