Package com.aparapi.internal.jni
Class ConfigJNI
java.lang.Object
com.aparapi.internal.jni.ConfigJNI
- Direct Known Subclasses:
Config
This class is intended to be used as a 'proxy' or 'facade' object for Java code to interact with JNI
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer.static final boolean
Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer, this information will be written to CSV file Usage -Dcom.codegen.enableProfiling={true|false}static final boolean
Allows the user to request that verbose JNI messages be dumped to stderr.static final boolean
Allows the user to request tracking of opencl resources.protected static final String
Value defaults to com.codegen.config if not overridden by extending classes -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
propPkgName
Value defaults to com.codegen.config if not overridden by extending classes -
enableProfiling
public static final boolean enableProfilingAllows the user to turn on OpenCL profiling for the JNI/OpenCL layer. Usage -Dcom.codegen.enableProfiling={true|false} -
enableProfilingCSV
public static final boolean enableProfilingCSVAllows the user to turn on OpenCL profiling for the JNI/OpenCL layer, this information will be written to CSV file Usage -Dcom.codegen.enableProfiling={true|false} -
enableVerboseJNI
public static final boolean enableVerboseJNIAllows the user to request that verbose JNI messages be dumped to stderr. Usage -Dcom.codegen.enableVerboseJNI={true|false} -
enableVerboseJNIOpenCLResourceTracking
public static final boolean enableVerboseJNIOpenCLResourceTrackingAllows the user to request tracking of opencl resources. This is really a debugging option to help locate leaking OpenCL resources, this will be dumped to stderr. Usage -Dcom.codegen.enableOpenCLResourceTracking={true|false}
-
-
Constructor Details
-
ConfigJNI
public ConfigJNI()
-