Package com.aparapi.internal.opencl
Class OpenCLLoader
java.lang.Object
com.aparapi.internal.jni.OpenCLJNI
com.aparapi.internal.opencl.OpenCLLoader
This class is intended to be a singleton which determines if OpenCL is available upon startup of Aparapi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Retrieve the status of whether OpenCL was successfully loadedMethods inherited from class com.aparapi.internal.jni.OpenCLJNI
createProgram
-
Constructor Details
-
OpenCLLoader
public OpenCLLoader()
-
-
Method Details
-
isOpenCLAvailable
public static boolean isOpenCLAvailable()Retrieve the status of whether OpenCL was successfully loaded- Returns:
- The status of whether OpenCL was successfully loaded
-