Package com.aparapi.internal.jni
Class ConfigJNI
- java.lang.Object
-
- com.aparapi.internal.jni.ConfigJNI
-
- Direct Known Subclasses:
Config
public abstract class ConfigJNI extends java.lang.Object
This class is intended to be used as a 'proxy' or 'facade' object for Java code to interact with JNI
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
enableProfiling
Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer.static boolean
enableProfilingCSV
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 boolean
enableVerboseJNI
Allows the user to request that verbose JNI messages be dumped to stderr.static boolean
enableVerboseJNIOpenCLResourceTracking
Allows the user to request tracking of opencl resources.protected static java.lang.String
propPkgName
Value defaults to com.codegen.config if not overridden by extending classes
-
Constructor Summary
Constructors Constructor Description ConfigJNI()
-
-
-
Field Detail
-
propPkgName
protected static final java.lang.String propPkgName
Value defaults to com.codegen.config if not overridden by extending classes
-
enableProfiling
public static final boolean enableProfiling
Allows the user to turn on OpenCL profiling for the JNI/OpenCL layer. Usage -Dcom.codegen.enableProfiling={true|false}
-
enableProfilingCSV
public static final boolean enableProfilingCSV
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}
-
enableVerboseJNI
public static final boolean enableVerboseJNI
Allows the user to request that verbose JNI messages be dumped to stderr. Usage -Dcom.codegen.enableVerboseJNI={true|false}
-
enableVerboseJNIOpenCLResourceTracking
public static final boolean enableVerboseJNIOpenCLResourceTracking
Allows 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}
-
-