Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for Devices (0.16 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    type wrappedManagerImpl struct {
    	*ManagerImpl
    	socketdir string
    	callback  func(string, []pluginapi.Device)
    }
    
    func (m *wrappedManagerImpl) PluginListAndWatchReceiver(r string, resp *pluginapi.ListAndWatchResponse) {
    	var devices []pluginapi.Device
    	for _, d := range resp.Devices {
    		devices = append(devices, *d)
    	}
    	m.callback(r, devices)
    }
    
    func tmpSocketDir() (socketDir, socketName, pluginSocketName string, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/mark_for_compilation_pass.cc

        const Cluster& cluster_a, const Cluster& cluster_b) {
      DeviceSet devices = cluster_a.devices();
      devices.UnionWith(cluster_b.devices());
    
      TF_ASSIGN_OR_RETURN(
          std::optional<jit::DeviceId> maybe_chosen_device,
          MaybePickDeviceForXla(device_info_cache_, devices,
                                /*allow_mixing_unknown_and_cpu=*/false));
      if (!maybe_chosen_device.has_value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    }
    
    // makeDevices generates container devices for kubelet runtime v1.
    func makeDevices(opts *kubecontainer.RunContainerOptions) []*runtimeapi.Device {
    	devices := make([]*runtimeapi.Device, len(opts.Devices))
    
    	for idx := range opts.Devices {
    		device := opts.Devices[idx]
    		devices[idx] = &runtimeapi.Device{
    			HostPath:      device.PathOnHost,
    			ContainerPath: device.PathInContainer,
    			Permissions:   device.Permissions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

          session_options, "/job:localhost/replica:0/task:0", &devices));
      if (devices.empty()) {
        return errors::NotFound(
            "Failed to create a CPU device for EncapsulateSubgraphsPass");
      }
    
      std::unique_ptr<DeviceMgr> device_mgr =
          std::make_unique<StaticDeviceMgr>(std::move(devices));
      const auto* config = &options.session_options->config;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

    }
    
    void ExtractOutsideCompilation::runOnOperation() {
      // Get runtime devices information from the closest parent module.
      auto module = getOperation();
      if (failed(CheckPreconditions(module))) signalPassFailure();
    
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices)))
        return signalPassFailure();
    
      llvm::SmallVector<mlir::tf_device::ParallelExecuteOp, 4>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/BUILD

            "-parse_headers",  # buildifier: disable=no-parse-headers
        ],
        deps = [":get_compiler_ir_hdrs"],
    )
    
    # This target can be used by XLA device plugins to prevent circular dependencies, and provides access to all of the required headers for building a device library.
    cc_header_only_library(
        name = "xla_jit_headers_lib",
        visibility = ["//visibility:public"],
        deps = [
            ":xla_cpu_device",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 61.5K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    		oex,
    		mount.NewFakeMounter(nil),
    		hostutil.NewFakeHostUtil(nil),
    		volumePluginMgr,
    		kubeletPodsDir)
    	reconciler := rc.(*reconciler)
    
    	// The pod has two volumes, fake-device1 is attachable, fake-device2 is not.
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume-name",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        with the function name as the op name. Unlike a PartitionedCall which
        represents asynchronously executing a function across multiple devices, a
        LegacyCall ignores specification for ops in the attached function and
        instead executes it on the device assigned to this op.
      }];
    
      let arguments = (ins
        Variadic<TF_Tensor>:$args,
    
        FlatSymbolRefAttr:$f,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/css/manual.css

    /** Correct `inline-block` display not defined in IE 8/9. */
    audio,
    canvas,
    video {
    	display: inline-block;
    }
    
    /** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
    audio:not([controls]) {
    	display: none;
    	height: 0;
    }
    
    /** Address `[hidden]` styling not present in IE 8/9. Hide the `template` element in IE, Safari, and Firefox < 22. */
    [hidden],
    template {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      // done in parallel.
      //
      // This graph is:
      // (Const0, Const0) -> MatMul0
      // (Const1, Const1) -> MatMul1
      // (MatMul0, MatMul1) -> MatMulCombined
      //
      // Device0: [Const0, Const0, MatMul0]
      // Device1: [Const1, Const1, MatMul1, MatMulCombined]
      //
      // Cluster0: [Const0, Const0, MatMul0]
      // Cluster1: [Const1, Const1, MatMul1]
      // Cluster2: [MatMulCombined]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
Back to top