Package org.lwjgl.opencl
Class ALTERACompilerMode
java.lang.Object
org.lwjgl.opencl.ALTERACompilerMode
Native bindings to the altera_compiler_mode extension.
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 target OpenCL device is not available in the development environment.
- The platform does not provide an online compiler for the target OpenCL device, or full online compilation is not desirable during host application development.
- The application only requires one device program, and does not need read access to the device binary.
The development and deployment of a particular application may involve more than one of these scenarios.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNew context properties to be used in thepropertiesarray supplied to toCreateContextorCreateContextFromType.static final intValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.static final intValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.static final intValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.static final intValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.static final intNew context properties to be used in thepropertiesarray supplied to toCreateContextorCreateContextFromType.static final intNew context properties to be used in thepropertiesarray supplied to toCreateContextorCreateContextFromType. -
Method Summary
-
Field Details
-
CL_CONTEXT_COMPILER_MODE_ALTERA
public static final int CL_CONTEXT_COMPILER_MODE_ALTERANew context properties to be used in thepropertiesarray supplied to toCreateContextorCreateContextFromType.- See Also:
-
CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_ALTERA
public static final int CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_ALTERANew context properties to be used in thepropertiesarray supplied to toCreateContextorCreateContextFromType.- See Also:
-
CL_CONTEXT_OFFLINE_DEVICE_ALTERA
public static final int CL_CONTEXT_OFFLINE_DEVICE_ALTERANew context properties to be used in thepropertiesarray supplied to toCreateContextorCreateContextFromType.- See Also:
-
CL_CONTEXT_COMPILER_MODE_OFFLINE_ALTERA
public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_ALTERAValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.- See Also:
-
CL_CONTEXT_COMPILER_MODE_OFFLINE_CREATE_EXE_LIBRARY_ALTERA
public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_CREATE_EXE_LIBRARY_ALTERAValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.- See Also:
-
CL_CONTEXT_COMPILER_MODE_OFFLINE_USE_EXE_LIBRARY_ALTERA
public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_USE_EXE_LIBRARY_ALTERAValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.- See Also:
-
CL_CONTEXT_COMPILER_MODE_PRELOADED_BINARY_ONLY_ALTERA
public static final int CL_CONTEXT_COMPILER_MODE_PRELOADED_BINARY_ONLY_ALTERAValues to be supplied for context propertyCONTEXT_COMPILER_MODE_ALTERA.- See Also:
-