Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 376 for r2devices (0.2 sec)

  1. pkg/volume/iscsi/iscsi_util.go

    }
    
    // deleteDevices tries to remove all the block devices and multipath map devices
    // associated with a given iscsi device
    func deleteDevices(c iscsiDiskUnmounter) error {
    	lunNumber, err := strconv.Atoi(c.iscsiDisk.Lun)
    	if err != nil {
    		klog.Errorf("iscsi delete devices: lun is not a number: %s\nError: %v", c.iscsiDisk.Lun, err)
    		return err
    	}
    	// Enumerate the devices so we can delete them
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/runtime_lowering_gpu.mlir

    // RUN: tf-tfrt-opt -tfrt-lower-cluster-to-runtime-ops-non-tpu -split-input-file -verify-diagnostics %s | FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:GPU:0"]} {
    
      // CHECK-LABEL: @converts_cluster
      func.func @converts_cluster() {
        // CHECK: "tf.XlaLaunch"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 13 17:41:44 UTC 2023
    - 840 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

    LogicalResult GetTpuDeviceAssignment(
        ClusterOp cluster, ReplicateOp replicate, mlir::ModuleOp module,
        absl::StatusOr<TPUDeviceAssignment>& status_or_tpu_device_assignment) {
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices))) return failure();
    
      uint32_t num_replicas = replicate.getN();
    
      auto num_cores_per_replica_attr = cluster->getAttrOfType<mlir::IntegerAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/doc.go

    // to manage containers. For example, they contain functions to configure containers' cgroups,
    // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory,
    // devices...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 18:20:51 UTC 2023
    - 934 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/extract_tpu_copy_with_dynamic_shape_op.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tf-extract-tpu-copy-with-dynamic-shape-op %s | FileCheck %s
    
    // Test that extract TPUCopyWithDynamicShape from host launch to device launch.
    
    module attributes {tf.devices = {"/job:localhost/replica:0/task:0/device:COMPOSITE:0", "/job:localhost/replica:0/task:0/device:CPU:0", "/job:localhost/replica:0/task:0/device:TPU:0", "/job:localhost/replica:0/task:0/device:TPU_SYSTEM:0"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. pkg/volume/util/hostutil/hostutil.go

    	// MakeRShared checks that given path is on a mount with 'rshared' mount
    	// propagation. If not, it bind-mounts the path as rshared.
    	MakeRShared(path string) error
    	// GetFileType checks for file/directory/socket/block/character devices.
    	GetFileType(pathname string) (FileType, error)
    	// PathExists tests if the given path already exists
    	// Error is returned on any other error than "file not found".
    	PathExists(pathname string) (bool, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util_test.cc

      if (!status.ok()) {
        return status;
      }
      return mlir_module;
    }
    
    TEST(XlaRewriteUtilTest, TestEraseClusterFuncs) {
      static const char* const module_str =
          R"(
    module attributes {tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:GPU:0"]} {
      func.func @convert_cluster_func(%arg0: tensor<i32>) -> () {
        %2 = "tf_device.parallel_execute"() ({
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/dev_dragonfly.go

    // The information below is extracted and adapted from sys/types.h:
    //
    // Minor gives a cookie instead of an index since in order to avoid changing the
    // meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
    // devices that don't use them.
    
    package unix
    
    // Major returns the major component of a DragonFlyBSD device number.
    func Major(dev uint64) uint32 {
    	return uint32((dev >> 8) & 0xff)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 1K bytes
    - Viewed (0)
  9. src/internal/poll/read_test.go

    	switch runtime.GOOS {
    	case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    		ps = []string{
    			"/dev/null",
    		}
    	case "linux":
    		ps = []string{
    			"/dev/null",
    			"/proc/stat",
    			"/sys/devices/system/cpu/online",
    		}
    	}
    	nps := ps[:0]
    	for _, p := range ps {
    		f, err := os.Open(p)
    		if err != nil {
    			continue
    		}
    		f.Close()
    		nps = append(nps, p)
    	}
    	return nps
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/sys_linux_arm.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // Linux/ARM atomic operations.
    
    // Because there is so much variation in ARM devices,
    // the Linux kernel provides an appropriate compare-and-swap
    // implementation at address 0xffff0fc0.  Caller sets:
    //	R0 = old value
    //	R1 = new value
    //	R2 = addr
    //	LR = return address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top