Package com.aparapi

Class Config


  • public class Config
    extends ConfigJNI
    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 Aparapis behavior.
    • Field Detail

      • logPropName

        private static final java.lang.String logPropName
      • logger

        private static final java.util.logging.Logger logger
      • useAgent

        public static final boolean useAgent
        Allows 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 disableUnsafe
        Disable Unsafe
      • executionMode

        public static final java.lang.String 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:
        Kernel.EXECUTION_MODE
      • enableExecutionModeReporting

        public static final boolean enableExecutionModeReporting
        Allows 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 enableShowGeneratedOpenCL
        Allows the user to request that generated OpenCL code is dumped to standard out. Usage -Dcom.codegen.enableShowGeneratedOpenCL={true|false}
      • dumpProfilesOnExit

        public static final boolean dumpProfilesOnExit
        Upon exiting the JVM, dumps kernel profiling info to standard out. Usage -Dcom.codegen.dumpProfilesOnExit={true|false}
      • dumpProfileOnExecution

        public static final boolean dumpProfileOnExecution
        Dumps 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
      • 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

        public static java.lang.String instructionListenerClassName
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • getLoggerName

        public static java.lang.String getLoggerName()