- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 3,466 for Devices (0.16 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/dev_freebsd.go
func Major(dev uint64) uint32 { return uint32((dev >> 8) & 0xff) } // Minor returns the minor component of a FreeBSD device number. func Minor(dev uint64) uint32 { return uint32(dev & 0xffff00ff) } // Mkdev returns a FreeBSD 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 - 1013 bytes - Viewed (0) -
pkg/kubelet/cm/util/cdi/cdi_test.go
expectedAnnotations []container.Annotation }{ { description: "no devices", deviceIDs: []string{}, }, { description: "one device", deviceIDs: []string{"vendor.com/class=device1"}, expectedAnnotations: []container.Annotation{{Name: "cdi.k8s.io/test-driver-name_test-claim-uid", Value: "vendor.com/class=device1"}}, }, } as := assert.New(t) for _, tc := range testCases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 09:47:53 UTC 2023 - 1.5K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
LogicalResult GetTpuDeviceAssignment( ClusterOp cluster, ReplicateOp replicate, mlir::ModuleOp module, absl::StatusOr<TPUDeviceAssignment>& status_or_tpu_device_assignment) { mlir::TF::RuntimeDevices devices; if (failed(tensorflow::GetDevicesFromOp(module, &devices))) return failure(); uint32_t num_replicas = replicate.getN(); auto num_cores_per_replica_attr = cluster->getAttrOfType<mlir::IntegerAttr>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/cm/doc.go
// to manage containers. For example, they contain functions to configure containers' cgroups, // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory, // devices...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 05 18:20:51 UTC 2023 - 934 bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/tf_to_corert_pipeline_refvar.mlir
// CHECK-NEXT: [[o_chain:%.*]], [[o:%.*]] = tfrt_fallback_async.executeop.seq([[in_chain]]) key(0) cost({{.*}}) device("/job:localhost/replica:0/task:0/device:CPU:0") "tf.VarHandleOp"() // CHECK-NEXT: [[o_chain_0:%.*]], [[o1:%.*]] = tfrt_fallback_async.executeop.seq([[in_chain]]) key(1) cost({{.*}}) device("/job:localhost/replica:0/task:0/device:CPU:0") "tf.ReadVariableOp"([[o]]) {dtype = f32} : 1
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil.go
) // HostUtils defines the set of methods for interacting with paths on a host. type HostUtils interface { // DeviceOpened determines if the device (e.g. /dev/sdc) is in use elsewhere // on the system, i.e. still mounted. DeviceOpened(pathname string) (bool, error) // PathIsDevice determines if a path is a device. PathIsDevice(pathname string) (bool, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 13:38:40 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h
// "replicate_on_last_tile_dim" and "last_tile_dims" should be deducted from the // real Tensor dimensions when tiled. // For example: // f32[8,512](sharding={devices=[1,1,2]0,1 last_tile_dims={REPLICATED}) // also means a replicated tensor over all devices. // // See xla_data.proto for detailed explanations on the fields. int GetDimsFromXLAShardingTiled(const xla::OpSharding& xla_sharding);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:18:34 UTC 2024 - 6K bytes - Viewed (0) -
src/internal/runtime/atomic/sys_linux_arm.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" // Linux/ARM atomic operations. // Because there is so much variation in ARM devices, // the Linux kernel provides an appropriate compare-and-swap // implementation at address 0xffff0fc0. Caller sets: // R0 = old value // R1 = new value // R2 = addr // LR = return address
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.8K bytes - Viewed (0) -
src/internal/poll/read_test.go
switch runtime.GOOS { case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd": ps = []string{ "/dev/null", } case "linux": ps = []string{ "/dev/null", "/proc/stat", "/sys/devices/system/cpu/online", } } nps := ps[:0] for _, p := range ps { f, err := os.Open(p) if err != nil { continue } f.Close() nps = append(nps, p) } return nps
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 1.1K bytes - Viewed (0)