Package com.aparapi.internal.opencl
Class OpenCLLoader
java.lang.Object
com.aparapi.internal.jni.OpenCLJNI
com.aparapi.internal.opencl.OpenCLLoader
public class OpenCLLoader extends OpenCLJNI
This class is intended to be a singleton which determines if OpenCL is available upon startup of Aparapi
-
Constructor Summary
Constructors Constructor Description OpenCLLoader()
-
Method Summary
Modifier and Type Method Description static boolean
isOpenCLAvailable()
Retrieve the status of whether OpenCL was successfully loaded
-
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
-