Home
last modified time | relevance | path

Searched refs:device_cap (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dhardware_type_utils.cc30 uint32 GetFmaMaxThroughputPerSMPerCycle(const DeviceCapabilities& device_cap) { in GetFmaMaxThroughputPerSMPerCycle() argument
33 switch (device_cap.compute_capability().major()) { in GetFmaMaxThroughputPerSMPerCycle()
48 if (device_cap.compute_capability().minor() > 0) { in GetFmaMaxThroughputPerSMPerCycle()
63 if (device_cap.compute_capability().minor() >= 6) { in GetFmaMaxThroughputPerSMPerCycle()
83 double GetFlopMaxThroughputPerSM(const DeviceCapabilities& device_cap) { in GetFlopMaxThroughputPerSM() argument
85 return GetFmaMaxThroughputPerSMPerCycle(device_cap) * 2 * in GetFlopMaxThroughputPerSM()
86 device_cap.clock_rate_in_ghz(); in GetFlopMaxThroughputPerSM()
89 absl::string_view GpuModelName(const DeviceCapabilities& device_cap) { in GpuModelName() argument
90 switch (device_cap.compute_capability().major()) { in GpuModelName()
100 if (device_cap.compute_capability().minor() < 5) { in GpuModelName()
Dhardware_type_utils.h27 double GetFlopMaxThroughputPerSM(const DeviceCapabilities& device_cap);
30 absl::string_view GpuModelName(const DeviceCapabilities& device_cap);
/external/crosvm/devices/src/virtio/
Dvirtio_pci_device.rs342 let device_cap = VirtioPciCap::new( in add_settings_pci_capabilities() localVariable
349 .add_capability(&device_cap) in add_settings_pci_capabilities()