Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,019 for Devices (0.16 sec)

  1. pkg/kubelet/cm/dra/claiminfo_test.go

    							"vendor.com/device=device1",
    							"vendor.com/device=device2",
    						},
    						"test-plugin2": {
    							"vendor.com/device=device1",
    							"vendor.com/device=device2",
    						},
    					},
    				},
    			},
    			expectedResult: []kubecontainer.CDIDevice{
    				{
    					Name: "vendor.com/device=device1",
    				},
    				{
    					Name: "vendor.com/device=device1",
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

        device_list_for_alias.reserve(device_list.size());
    
        for (auto device : device_list)
          device_list_for_alias.emplace_back(
              mlir::cast<StringAttr>(device).getValue());
    
        devices.insert({device_alias, device_list_for_alias});
      }
    
      OpBuilder builder(replicate);
      builder.setInsertionPoint(while_op);
      // Create per-device variables for formatting state, and add them to the while
      // loop.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device.h

        // The name of the compilation device (e.g., "XLA_CPU_JIT");
        string compilation_device_name;
    
        // If 'use_multiple_streams' is true, we create separate streams for
        // compute, host-to-device, and device-to-host communication.
        bool use_multiple_streams = false;
    
        // If true, the XLA devices with the same device ordinal will share the same
        // compute stream. Otherwise each XLA device will having their own compute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir

                 %arg2: !tf_res_md_f32 {tf.device = "/device:TPU:0"},
                 %arg3: !tf_res_md_f32 {tf.device = "/device:TPU:1"}) {
    
        %0 = "tf.Const"() {value = dense<100> : tensor<i32>} : () -> tensor<i32>
        // CHECK: %[[STATE0:.*]] = "tf.VarHandleOp"()
        // CHECK-SAME: device = "/device:TPU:0"
        // CHECK: %[[STATE1:.*]] = "tf.VarHandleOp"()
        // CHECK-SAME: device = "/device:TPU:1"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 25.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

        Builder* builder, OperationState* state, int n,
        std::optional<DictionaryAttr> devices,
        llvm::ArrayRef<std::pair<ValueRange, Type>> replicated_inputs,
        ValueRange packed_inputs, TypeRange replica_output_types) {
      DCHECK_GE(n, 2);
      state->addAttribute("n", builder->getI32IntegerAttr(n));
    
      if (devices.has_value()) state->addAttribute("devices", devices.value());
    
      Region* region = state->addRegion();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

        // TODO(jpienaar): Remove this later.
        if (auto device = res->getAttrOfType<StringAttr>("device")) {
          if (!device.getValue().empty())
            result_id->setAttr("device", device);
          else
            result_id->setAttr("device", compile_device_op);
        } else if (compile_device_op) {
          result_id->setAttr("device", compile_device_op);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

      auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>();
      // Get runtime devices information from the closest parent module.
      auto module = getOperation();
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices)))
        return signalPassFailure();
    
      OpBuilder builder(&getContext());
      llvm::SmallVector<mlir::tf_device::ClusterOp, 4> clusters;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/flags.h

        // `enabled_for_gpu_` below.
        bool enabled_for_all_;
    
        // If true, enable Device API (PjRt) for TF GPU device. This is a helper
        // flag so that individual tests can turn on PjRt for GPU specifically.
        // Once the rollout to GPU is complete, this flag can be deprecated.
        bool enabled_for_gpu_;
    
       private:
        // Devices for which using Device API (PjRt) is allowed in the XlaLaunch op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    	s.Send(&pluginapi.ListAndWatchResponse{Devices: m.devs})
    
    	for {
    		select {
    		case <-m.stop:
    			return nil
    		case updated := <-m.update:
    			s.Send(&pluginapi.ListAndWatchResponse{Devices: updated})
    		}
    	}
    }
    
    // Update allows the device plugin to send new devices through ListAndWatch
    func (m *Stub) Update(devs []*pluginapi.Device) {
    	m.update <- devs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_test_util.cc

        const string dev_name(TF_DeviceListName(devices, i, status.get()));
        CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        if (dev_type == device_type) {
          *device_name = dev_name;
          LOG(INFO) << "Found " << device_type << " device " << *device_name;
          TF_DeleteDeviceList(devices);
          return true;
        }
      }
      TF_DeleteDeviceList(devices);
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top