Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DeviceName (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

       pid_t ut_pid;			/* Process ID of login process.  */
    -  char ut_line[UT_LINESIZE];	/* Devicename.  */
    -  char ut_id[4];		/* Inittab ID.  */
    -  char ut_user[UT_NAMESIZE];	/* Username.  */
    -  char ut_host[UT_HOSTSIZE];	/* Hostname for remote login.  */
    +  char ut_line[UT_LINESIZE]
    +    __attribute_nonstring__;	/* Devicename.  */
    +  char ut_id[4]
    +    __attribute_nonstring__;		/* Inittab ID.  */
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

    #if !defined(IS_MOBILE_PLATFORM)
    #include "tensorflow/core/common_runtime/eager/context_distributed_manager.h"
    #endif  // !IS_MOBILE_PLATFORM
    
    using tensorflow::string;
    
    namespace {
    
    string DeviceName(const tensorflow::Device* d) {
      return (d == nullptr) ? "cpu:0" : d->name();
    }
    
    // Annotate eager runtime construction context to the given `function_def` as
    // an attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      void Release() override { delete this; }
    
      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: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/manager_test.go

    	s.prepareResourceCalls.Add(1)
    
    	if s.timeout != nil {
    		time.Sleep(*s.timeout)
    	}
    
    	if s.prepareResourcesResponse == nil {
    		deviceName := "claim-" + req.Claims[0].Uid
    		result := s.driverName + "/" + driverClassName + "=" + deviceName
    		return &drapbv1.NodePrepareResourcesResponse{
    			Claims: map[string]*drapbv1.NodePrepareResourceResponse{
    				req.Claims[0].Uid: {
    					CDIDevices: []string{result},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

                                              g_->graph.NewName(op_name).c_str()));
        return absl::OkStatus();
      }
      const string& Name() const override { return op_type_; }
      const string& DeviceName() const override { return device_name_; }
    
      Status SetDeviceName(const char* name) override {
        // TODO(srbs): Implement this.
        device_name_ = name;
        return absl::OkStatus();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top