docs: @Override
      public int getNumberOfDevices() {
          if (numberOfDevices.get() < 0) {
              synchronized (this) {
                  if (numberOfDevices.get() < 1) {
                      numberOfDevices.set(NativeOpsHolder.getInstance().getDeviceNativeOps().getAvailableDevices());
                  }
              }
          }
  
          return numberOfDevices.get();
      }