Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class ALTERACompilerMode

extends Object
Class Inheritance

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 development and deployment of a particular application may involve more than one of these scenarios.

Field Summary

Modifier and TypeField and Description
public static final int
CL_CONTEXT_COMPILER_MODE_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_OFFLINE_ALTERA

Values to be supplied for context property CONTEXT_COMPILER_MODE_ALTERA.

public static final int
public static final int
public static final int
public static final int
CL_CONTEXT_OFFLINE_DEVICE_ALTERA

New context properties to be used in the properties array supplied to to CreateContext or CreateContextFromType.

public static final int
CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_ALTERA

New context properties to be used in the properties array supplied to to CreateContext or CreateContextFromType.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_CONTEXT_COMPILER_MODE_ALTERAback to summary
public static final int CL_CONTEXT_COMPILER_MODE_ALTERA

New context properties to be used in the properties array supplied to to CreateContext or CreateContextFromType.

CL_CONTEXT_COMPILER_MODE_OFFLINE_ALTERAback to summary
public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_ALTERA

Values to be supplied for context property CONTEXT_COMPILER_MODE_ALTERA.

CL_CONTEXT_COMPILER_MODE_OFFLINE_CREATE_EXE_LIBRARY_ALTERAback to summary
public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_CREATE_EXE_LIBRARY_ALTERA

Values to be supplied for context property CONTEXT_COMPILER_MODE_ALTERA.

CL_CONTEXT_COMPILER_MODE_OFFLINE_USE_EXE_LIBRARY_ALTERAback to summary
public static final int CL_CONTEXT_COMPILER_MODE_OFFLINE_USE_EXE_LIBRARY_ALTERA

Values to be supplied for context property CONTEXT_COMPILER_MODE_ALTERA.

CL_CONTEXT_COMPILER_MODE_PRELOADED_BINARY_ONLY_ALTERAback to summary
public static final int CL_CONTEXT_COMPILER_MODE_PRELOADED_BINARY_ONLY_ALTERA

Values to be supplied for context property CONTEXT_COMPILER_MODE_ALTERA.

CL_CONTEXT_OFFLINE_DEVICE_ALTERAback to summary
public static final int CL_CONTEXT_OFFLINE_DEVICE_ALTERA

New context properties to be used in the properties array supplied to to CreateContext or CreateContextFromType.

CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_ALTERAback to summary
public static final int CL_CONTEXT_PROGRAM_EXE_LIBRARY_ROOT_ALTERA

New context properties to be used in the properties array supplied to to CreateContext or CreateContextFromType.

Constructor Detail

ALTERACompilerModeback to summary
private ALTERACompilerMode()