- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for withDevices (0.28 sec)
-
pkg/kubelet/cm/devicemanager/manager_test.go
type containerAllocateResponseBuilderOption func(*containerAllocateResponseBuilder) // withDevices sets the devices for the containerAllocateResponseBuilder func withDevices(devices map[string]string) containerAllocateResponseBuilderOption { return func(b *containerAllocateResponseBuilder) { b.devices = devices } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
podID := "pod1" contID := "con1" devices := checkpoint.DevicesPerNUMA{0: []string{"dev1"}, 1: []string{"dev1"}} podDevices.insert(podID, contID, resourceName1, devices, newContainerAllocateResponse( withDevices(map[string]string{"/dev/r1dev1": "/dev/r1dev1", "/dev/r1dev2": "/dev/r1dev2"}), withMounts(map[string]string{"/home/r1lib1": "/usr/r1lib1"}), ), ) resContDevices := podDevices.getContainerDevices(podID, contID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/clone_constants_for_better_clustering_test.cc
} TEST(CloneConstantsForBetterClusteringTest, HostConstantPlacedOnCpu) { Scope root = Scope::NewRootScope().ExitOnError(); Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU); Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU); Output in0 = ops::Placeholder(on_gpu.WithOpName("in0"), DT_FLOAT); Output in1 = ops::Placeholder(on_gpu.WithOpName("in1"), DT_FLOAT);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
return fdef_lib; } TEST_F(BuildXlaOpsTest, ControlDepsPreserved) { const char* kXlaDeviceName = "/job:worker/replica:0/task:0/device:XLA_CPU:0"; Scope root = Scope::NewRootScope().WithDevice(kXlaDeviceName).ExitOnError(); FunctionDefLibrary fdef_lib = CreateFunctionDefLibWithConstFunction("cluster_0"); TF_ASSERT_OK(root.graph()->AddFunctionLibrary(fdef_lib)); Node* call;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowScheduler.kt
instantiatorFactory: InstantiatorFactory, serviceRegistry: ServiceRegistry, ) { private val instantiator by lazy { instantiatorFactory .injectScheme() .withServices(injectableServicesOf(serviceRegistry)) .instantiator() } fun schedule(scheduled: List<RegisteredFlowAction>) { scheduled.forEach { flowAction -> instantiator
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:01:34 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/ProjectScopeServices.java
DefaultPluginManager.class, get(PluginRegistry.class), new PluginInstantiator( instantiatorFactory.injectScheme().withServices(this).instantiator(), pluginScheme.getInstantiationScheme().withServices(this).instantiator() ), pluginTarget, buildOperationRunner, userCodeApplicationContext, decorator,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultValueSourceProviderFactory.java
// TODO - dedupe logic copied from DefaultBuildServicesRegistry this.paramsInstantiator = instantiatorFactory.decorateScheme().withServices(services).instantiator(); this.specInstantiator = instantiatorFactory.decorateLenientScheme().withServices(services).instantiator(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:25 UTC 2024 - 14.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java
this.isolatableFactory = isolatableFactory; this.leaseRegistry = leaseRegistry; this.paramsInstantiator = instantiatorFactory.decorateScheme().withServices(services).instantiator(); this.specInstantiator = instantiatorFactory.decorateLenientScheme().withServices(services).instantiator(); this.listener = listener; listenerManager.addListener(new ServiceCleanupListener()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:45 UTC 2024 - 16.7K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt
} override fun ReadContext.newBean(generated: Boolean): Any = if (generated) { val services = ownerService<ServiceRegistry>() instantiationScheme.withServices(services).deserializationInstantiator().newInstance(beanType, Any::class.java) } else { constructorForSerialization.newInstance() } override suspend fun ReadContext.readStateOf(bean: Any) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.cc
if (debugging_opts.print_outputs) { string cpu_device = "/job:localhost/replica:0/task:0/device:CPU:0"; ops::Print print_op(s.WithOpName("print_", oidx) .WithDevice(cpu_device) .WithAssignedDevice(cpu_device), new_output, {new_output}, ops::Print::Attrs{}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0)