Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 847 for device_1 (0.28 sec)

  1. pkg/volume/iscsi/iscsi_util.go

    	}
    
    	return "", false
    }
    
    func extractPortalAndIqn(device string) (string, string, error) {
    	ind1 := strings.Index(device, "-")
    	if ind1 < 0 {
    		return "", "", fmt.Errorf("iscsi detach disk: no portal in %s", device)
    	}
    	portal := device[0:ind1]
    	ind2 := strings.Index(device, "iqn.")
    	if ind2 < 0 {
    		ind2 = strings.Index(device, "eui.")
    	}
    	if ind2 < 0 {
    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. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    // DICS_STATE specifies values indicating a change in a device's state
    type DICS_STATE uint32
    
    const (
    	DICS_ENABLE     DICS_STATE = 0x00000001 // The device is being enabled.
    	DICS_DISABLE    DICS_STATE = 0x00000002 // The device is being disabled.
    	DICS_PROPCHANGE DICS_STATE = 0x00000003 // The properties of the device have changed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/c/eager/dlpack_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      const DLTensor* dltensor_out = &dlm_out->dl_tensor;
      EXPECT_EQ(dltensor_out->device.device_type, dltensor_in->device.device_type);
      EXPECT_EQ(dltensor_out->device.device_id, dltensor_in->device.device_id);
      EXPECT_EQ(dltensor_out->ndim, dltensor_in->ndim);
      EXPECT_EQ(dltensor_out->dtype.code, dltensor_in->dtype.code);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

      func.func @op_dominate_repro(%writer: tensor<*x!tf_type.resource> {tf.device = "/job:localhost/replica:0/task:0/device:CPU:0"}) -> () {
        %step = "tf.Const"() {device = "", value = dense<0> : tensor<i64>} : () -> tensor<i64>
        %tag = "tf.Const"() {device = "", value = dense<""> : tensor<!tf_type.string>} : () -> tensor<!tf_type.string>
        %wmetadata = "tf.Const"() {device = "", value = dense<""> : tensor<!tf_type.string>} : () -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/dlpack.cc

      DeviceNameUtils::ParsedName parsed_name;
      tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name);
      std::string device_type = parsed_name.type;
      int device_id = 0;
      if (parsed_name.has_id) {
        device_id = parsed_name.id;
      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
        ctx.device_type = DLDeviceType::kDLCPU;
      } else if (device_type == "GPU") {
    #if TENSORFLOW_USE_ROCM
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc

      }
    
      return resource_users;
    }
    
    void ColocateCompositeResourceOpsInReplicate(
        tf_device::ReplicateOp replicate_op, OpBuilder* builder) {
      auto devices = replicate_op.getDevices();
      if (!devices) return;
      if (!devices.value().get(tensorflow::GetDeviceAliasForLogicalCore(0))) return;
    
      const auto composite_resource_users =
          GetResourceOpsUsingCompositeArgsInReplicate(replicate_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 17:41:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/dev_dragonfly.go

    func Major(dev uint64) uint32 {
    	return uint32((dev >> 8) & 0xff)
    }
    
    // Minor returns the minor component of a DragonFlyBSD device number.
    func Minor(dev uint64) uint32 {
    	return uint32(dev & 0xffff00ff)
    }
    
    // Mkdev returns a DragonFlyBSD device number generated from the given major and
    // minor components.
    func Mkdev(major, minor uint32) uint64 {
    	return (uint64(major) << 8) | uint64(minor)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      ASSERT_TRUE(absl::StrContains(device_type, "CPU")) << device_type;
      int device_id = TFE_TensorHandleDeviceID(hcpu, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      ASSERT_EQ(0, device_id) << device_id;
    
      // Disable the test if no GPU is present.
      string gpu_device_name;
      if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_ops_on_regular_devices.cc

                              XlaCompileOnDemandOp);                               \
      REGISTER_KERNEL_BUILDER(Name("XlaSvd").Device(DEVICE),                       \
                              XlaCompileOnDemandOp);                               \
      REGISTER_KERNEL_BUILDER(Name("XlaDot").Device(DEVICE),                       \
                              XlaCompileOnDemandOp);                               \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 19 19:55:14 UTC 2022
    - 8.8K bytes
    - Viewed (0)
Back to top