Class CudaVerifier


  • public class CudaVerifier
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean verify()
      Verifies that, if GRIP is using CUDA acceleration, a compatible CUDA runtime is available.
      void verifyCuda()
      Verifies the presence of a CUDA runtime, if required by the GRIP runtime, and exits the app if no compatible CUDA runtime is available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CudaVerifier

        @Inject
        public CudaVerifier​(AccelerationMode accelerationMode,
                            CudaDetector cudaDetector,
                            @Named("cudaProperties")
                            java.util.Properties cudaProperties)
    • Method Detail

      • verifyCuda

        public void verifyCuda()
        Verifies the presence of a CUDA runtime, if required by the GRIP runtime, and exits the app if no compatible CUDA runtime is available.
      • verify

        public boolean verify()
        Verifies that, if GRIP is using CUDA acceleration, a compatible CUDA runtime is available. If GRIP is not using CUDA acceleration, this will always return true.
        Returns:
        false if GRIP is using CUDA acceleration but no compatible CUDA runtime is available, true otherwise