Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,940 for Devices (0.13 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/apis/podresources/server_v1alpha1.go

    // with device information provided by the DevicesProvider
    func NewV1alpha1PodResourcesServer(providers PodResourcesProviders) v1alpha1.PodResourcesListerServer {
    	return &v1alpha1PodResourcesServer{
    		podsProvider:    providers.Pods,
    		devicesProvider: providers.Devices,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:01 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

    //
    // device_info is an opaque caller-defined type stored with the custom device
    // which is passed to the functions referenced in the TFE_CustomDevice struct
    // `device` (execute, delete_device, etc.). It can for example contain the
    // names of wrapped devices.
    //
    // There are currently no graph semantics implemented for registered custom
    // devices, so executing tf.functions which contain operations placed on the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

    // Check that replicate op's 'devices' attribute must consist of dictionary
    // with values as list with size equal to 'n' attribute.
    func.func @verifier_replicate_n_device_multiple_alias() {
      "tf_device.replicate" () ({
    // expected-error@-1 {{'tf_device.replicate' op expects number of devices (2) to be equal to 'n' (3)}}
      ^entry:
        tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/podresources/server_v1.go

    // with device information provided by the DevicesProvider
    func NewV1PodResourcesServer(providers PodResourcesProviders) podresourcesv1.PodResourcesListerServer {
    	return &v1PodResourcesServer{
    		podsProvider:             providers.Pods,
    		devicesProvider:          providers.Devices,
    		cpusProvider:             providers.Cpus,
    		memoryProvider:           providers.Memory,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:00:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_kernel_creator_test.cc

        SessionOptions options;
        auto* device_count = options.config.mutable_device_count();
        device_count->insert({"CPU", 1});
        std::vector<std::unique_ptr<Device>> devices;
        TF_CHECK_OK(DeviceFactory::AddDevices(
            options, "/job:localhost/replica:0/task:0", &devices));
    
        FunctionDefLibrary proto;
        for (const auto& fdef : flib) {
          *(proto.add_function()) = fdef;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/container_manager_windows.go

    	// just try to fetch device runtime information from cached state here
    	devOpts, err := cm.deviceManager.GetDeviceRunContainerOptions(pod, container)
    	if err != nil {
    		return nil, err
    	} else if devOpts == nil {
    		return opts, nil
    	}
    	opts.Devices = append(opts.Devices, devOpts.Devices...)
    	opts.Mounts = append(opts.Mounts, devOpts.Mounts...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 11:25:36 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

        int64_t device_id;
        if (!device_attr) {
          device_id = kAnyDevice;
        } else if (devices.find(device_attr) != devices.end()) {
          device_id = devices[device_attr];
        } else {
          device_id = 1 + devices.size();
          devices[device_attr] = device_id;
        }
    
        auto& alias_analysis = side_effect_analysis.GetAliasAnalysis();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top