Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for DeviceName (0.26 sec)

  1. tensorflow/c/eager/abstract_operation.h

      // returned by DeviceName should be "/device:GPU:*" until a particular GPU is
      // chosen for the operation by the device placement logic in the
      // executor. After that, the value returned by DeviceName will be a full
      // device name such as "/job:localhost/replica:0/task:0/device:GPU:1".
      virtual const string& DeviceName() const = 0;
    
      // Sets the operation device name.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 14 16:20:41 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/DefaultWatchableFileSystemDetectorTest.groovy

            detector.detectUnsupportedFileSystems()
                .collect(Collectors.toList())
        }
    
        private static FileSystemInfo fs(String deviceName, String mountPoint, String type, boolean remote = false) {
            return new DefaultFileSystemInfo(Paths.get(mountPoint).toFile(), type, deviceName, remote, null)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pkg/volume/fc/fc_util.go

    }
    
    // Flushes any outstanding I/O to the device
    func flushDevice(deviceName string, exec utilexec.Interface) {
    	out, err := exec.Command("blockdev", "--flushbufs", deviceName).CombinedOutput()
    	if err != nil {
    		// Ignore the error and continue deleting the device. There is will be no retry on error.
    		klog.Warningf("Failed to flush device %s: %s\n%s", deviceName, err, string(out))
    	}
    	klog.V(4).Infof("Flushed device %s", deviceName)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

      const NodeDef& ndef = orig_op->MutableAttrs()->BuildNodeDef();
      auto& ctx = orig_op->EagerContext();
      Fprint128 cache_key =
          orig_op->MutableAttrs()->CacheKey(orig_op->DeviceName());
      // Include soft placement policy in cache key since the placement strategy
      // can change and thus affect which kernel is picked.
      auto x = FingerprintCat64(cache_key.high64, cache_key.low64);
      std::string fname =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/tape/tape_operation.h

      void Release() override;
      Status Reset(const char* op, const char* raw_device_name) override;
      const string& Name() const override;
      const string& DeviceName() const override;
      Status SetDeviceName(const char* name) override;
      Status AddInput(AbstractTensorHandle* input) override;
      Status AddInputList(absl::Span<AbstractTensorHandle* const> inputs) override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  6. internal/disk/stat_linux.go

    			diskstats, _ := bfs.ProcDiskstats()
    			for _, dstat := range diskstats {
    				// ignore all loop devices
    				if strings.HasPrefix(dstat.DeviceName, "loop") {
    					continue
    				}
    				if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {
    					devName = dstat.DeviceName
    					break
    				}
    			}
    			if devName != "" {
    				info.Name = devName
    				qst, err := bfs.SysBlockDeviceQueueStats(devName)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_tensor_handle.cc

        // The default NumPy-style output can be distractingly long in error
        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
        device_name = "<error fetching device name>";
      }
      return absl::StrCat("TensorHandle(", value_string, ", shape=", shape_string,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_TensorHandle* var_handle0 = TestVariable(ctx, 1.0, dev0_name);
      EXPECT_NE(var_handle0, nullptr);
    
      tensorflow::Status status2;
      EXPECT_EQ(tensorflow::unwrap(var_handle0)->DeviceName(&status2), dev0_name);
    
      // Rename local device
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      forward_op_.outputs.clear();
      return parent_op_->Reset(op, raw_device_name);
    }
    const string& TapeOperation::Name() const { return parent_op_->Name(); }
    const string& TapeOperation::DeviceName() const {
      return parent_op_->DeviceName();
    }
    Status TapeOperation::SetDeviceName(const char* name) {
      return parent_op_->SetDeviceName(name);
    }
    Status TapeOperation::AddInput(AbstractTensorHandle* input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi_util.go

    			// Fall through -- keep deleting the block devices
    		}
    		klog.V(4).Infof("Flushed multipath device: %s", mpathDevice)
    	}
    	for _, deviceName := range deviceNames {
    		err = deleteDevice(deviceName)
    		if err != nil {
    			klog.Warningf("Warning: Failed to delete block device: %s\nError: %v", deviceName, err)
    			// Fall through -- keep deleting other block devices
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
Back to top