Package com.aparapi.internal.jni
Class ConfigJNI
java.lang.Object
com.aparapi.internal.jni.ConfigJNI
- Direct Known Subclasses:
Config
public abstract class ConfigJNI extends 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. -
Constructor Summary
Constructors Constructor Description ConfigJNI()
-
Method Summary
-
Field Details
-
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()
-