Package com.aparapi
Class Config
java.lang.Object
com.aparapi.internal.jni.ConfigJNI
com.aparapi.Config
A central location for holding all runtime configurable properties as well as logging configuration.
Ideally we will find all properties used by
Aparapi
here. Please consider updating this class if you wish
to add new properties which control Aparapi
s behavior.- Author:
- gfrost
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Disable Unsafestatic final boolean
static final boolean
Dumps profiling info (for a single execution) after every Kernel execution.static final boolean
Upon exiting the JVM, dumps kernel profiling info to standard out.static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
Allows the user to request that the execution mode of each kernel invocation be reported to stdout.static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static boolean
static final boolean
Allows the user to request that generated OpenCL code is dumped to standard out.static final boolean
static final String
Allows the user to request a specific Kernel.EXECUTION_MODE enum value for all Kernels.static Config.InstructionListener
static String
static final boolean
Allows the user to request to use a jvmti agent to access JNI code rather than loading explicitly.static final boolean
Fields inherited from class com.aparapi.internal.jni.ConfigJNI
enableProfiling, enableProfilingCSV, enableVerboseJNI, enableVerboseJNIOpenCLResourceTracking
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
useAgent
public static final boolean useAgentAllows the user to request to use a jvmti agent to access JNI code rather than loading explicitly. Usage -agentpath=/full/path/to/agent.dll -Dcom.codegen.useAgent=true -
disableUnsafe
public static final boolean disableUnsafeDisable Unsafe -
executionMode
Allows the user to request a specific Kernel.EXECUTION_MODE enum value for all Kernels. Usage -Dcom.codegen.executionMode={SEQ|JTP|CPU|GPU|ACC}- See Also:
-
enableExecutionModeReporting
public static final boolean enableExecutionModeReportingAllows the user to request that the execution mode of each kernel invocation be reported to stdout. Usage -Dcom.codegen.enableExecutionModeReporting={true|false} -
enableShowGeneratedOpenCL
public static final boolean enableShowGeneratedOpenCLAllows the user to request that generated OpenCL code is dumped to standard out. Usage -Dcom.codegen.enableShowGeneratedOpenCL={true|false} -
dumpProfilesOnExit
public static final boolean dumpProfilesOnExitUpon exiting the JVM, dumps kernel profiling info to standard out. Usage -Dcom.codegen.dumpProfilesOnExit={true|false} -
dumpProfileOnExecution
public static final boolean dumpProfileOnExecutionDumps profiling info (for a single execution) after every Kernel execution. Usage -Dcom.codegen.dumpProfileOnExecution={true|false} -
enableAtomic32
public static final boolean enableAtomic32 -
enableAtomic64
public static final boolean enableAtomic64 -
enableByteWrites
public static final boolean enableByteWrites -
enableDoubles
public static final boolean enableDoubles -
verboseComparitor
public static final boolean verboseComparitor -
dumpFlags
public static final boolean dumpFlags -
enablePUTFIELD
public static final boolean enablePUTFIELD -
enableARETURN
public static final boolean enableARETURN -
enablePUTSTATIC
public static final boolean enablePUTSTATIC -
enableGETSTATIC
public static final boolean enableGETSTATIC- See Also:
-
enableINVOKEINTERFACE
public static final boolean enableINVOKEINTERFACE -
enableMONITOR
public static final boolean enableMONITOR -
enableARRAY
public static final boolean enableARRAY -
enableNEW
public static final boolean enableNEW -
enableATHROW
public static final boolean enableATHROW -
enableMETHODARRAYPASSING
public static final boolean enableMETHODARRAYPASSING -
enableARRAYLENGTH
public static final boolean enableARRAYLENGTH -
enableSWITCH
public static final boolean enableSWITCH -
enableShowFakeLocalVariableTable
public static boolean enableShowFakeLocalVariableTable -
enableInstructionDecodeViewer
public static final boolean enableInstructionDecodeViewer -
instructionListenerClassName
-
instructionListener
-
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
getLoggerName
-