code: @Override
      public synchronized boolean load(File tempDir) {
          boolean isLoaded = gklUtils.load(null);
  
          if(!isLoaded)
          {
              logger.warn("Intel GKL Utils not loaded");
              return false;
          }
  
          if (!gklUtils.isAvxSupported() || !gklUtils.isAvx2Supported()) {
              return false;
          }
  
          if (!NativeLibraryLoader.load(tempDir, NATIVE_LIBRARY_NAME)) {
              return false;
          }
          if (!initialized) {
  
              initialized = true;
          }
  
          if(gklUtils.isAvx512Supported()) {
              logger.info("Using CPU-supported AVX-512 instructions");
          }
  
          /*
           Initializes the function pointers to use machine specific optimized code
           */
          initNative();
          return true;
      }
docs: Loads the native library, if it is supported on this platform. <p>
  Returns false if AVX is not supported. <br>
  Returns false if the native library cannot be loaded for any reason. <br>
  
  @param tempDir  directory where the native library is extracted or null to use the system temp directory
  @return  true if the native library is supported and loaded, false otherwise