Class OpenCLLoader


  • public class OpenCLLoader
    extends OpenCLJNI
    This class is intended to be a singleton which determines if OpenCL is available upon startup of Aparapi
    • Field Detail

      • logger

        private static final java.util.logging.Logger logger
      • openCLAvailable

        private static boolean openCLAvailable
    • Constructor Detail

      • OpenCLLoader

        public OpenCLLoader()
    • Method Detail

      • getInstance

        protected static OpenCLLoader getInstance()
        Retrieve a singleton instance of OpenCLLoader
        Returns:
        A singleton instance of OpenCLLoader
      • isOpenCLAvailable

        public static boolean isOpenCLAvailable()
        Retrieve the status of whether OpenCL was successfully loaded
        Returns:
        The status of whether OpenCL was successfully loaded