Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for set_device (0.18 sec)

  1. tensorflow/compiler/jit/xla_device.cc

    XlaDeviceOpRegistrations* RegisterXlaDeviceKernels(
        const char* device, const char* jit_device,
        OpKernel* (*factory)(OpKernelConstruction*),
        StringPiece kernel_class_name) {
      XlaOpRegistry::RegisterCompilationKernels();
      XlaDeviceOpRegistrations* registrations = new XlaDeviceOpRegistrations;
      for (const KernelDef* jit_def : XlaOpRegistry::DeviceKernels(
               jit_device,
               /*include_compilation_only_kernels=*/false)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java

        void setBuildInvocationUsage() {
            this.usageType = DeprecatedFeatureUsage.Type.BUILD_INVOCATION;
        }
    
        void setSummary(String summary) {
            this.summary = summary;
        }
    
        void setAdvice(String advice) {
            this.advice = advice;
        }
    
        void setDeprecationTimeline(DeprecationTimeline deprecationTimeline) {
            this.deprecationTimeline = deprecationTimeline;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

        rewriter.replaceOp(op_to_replace, ValueRange({fused_op}));
        return success();
      }
    };
    
    const char kDeviceAttr[] = "device";
    const char kDeviceGpu[] = "GPU";
    
    std::optional<std::string> GetDevice(mlir::Operation *op) {
      mlir::StringAttr device = op->getAttrOfType<mlir::StringAttr>(kDeviceAttr);
      if (!device || device.getValue().empty()) {
        return std::nullopt;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

          execute_launch.getLoc(), llvm::ArrayRef<Type>{}, reformat_operands);
      WrapOpInLaunch(&builder, execute_launch.getLoc(), reformat_op,
                     execute_launch.getDevice());
    
      // Build the replicated unformat op after the loop. First prepare building the
      // replicate op.
      llvm::SmallVector<std::pair<ValueRange, Type>, 8> unformat_replicate_operands;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator.go

    		}
    		// Call SetUpDevice if blockVolumeMapper implements CustomBlockVolumeMapper
    		if customBlockVolumeMapper, ok := blockVolumeMapper.(volume.CustomBlockVolumeMapper); ok && actualStateOfWorld.GetDeviceMountState(volumeToMount.VolumeName) != DeviceGloballyMounted {
    			var mapErr error
    			stagingPath, mapErr = customBlockVolumeMapper.SetUpDevice()
    			if mapErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  6. pkg/volume/local/local.go

    	*localVolume
    	readOnly bool
    }
    
    var _ volume.BlockVolumeMapper = &localVolumeMapper{}
    var _ volume.CustomBlockVolumeMapper = &localVolumeMapper{}
    
    // SetUpDevice prepares the volume to the node by the plugin specific way.
    func (m *localVolumeMapper) SetUpDevice() (string, error) {
    	return "", nil
    }
    
    // MapPodDevice provides physical device path for the local PV.
    func (m *localVolumeMapper) MapPodDevice() (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

                                entry.value().get(), &builder);
    
        auto device_list = mlir::cast<ArrayAttr>(
            replicate.getDevices().value().get(execute_launch.getDevice()));
        copy_with_layout->setAttr(kDeviceAttr,
                                  device_list.getValue()[entry.index()]);
    
        entry.value().set(copy_with_layout);
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	assert.NoError(t, volumetesting.VerifyZeroDetachCallCount(fakePlugin))
    }
    
    // Populates desiredStateOfWorld cache with one volume/pod.
    // Calls Run()
    // Verifies there are attach/get map paths/setupDevice calls and
    // no detach/teardownDevice calls.
    func Test_Run_Positive_VolumeAttachAndMap(t *testing.T) {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod1",
    			UID:       "pod1uid",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  9. pkg/volume/testing/testing.go

    	fv.RLock()
    	defer fv.RUnlock()
    	return fv.TearDownCallCount
    }
    
    func (fv *FakeVolume) TearDownAt(dir string) error {
    	return os.RemoveAll(dir)
    }
    
    // Block volume support
    func (fv *FakeVolume) SetUpDevice() (string, error) {
    	fv.Lock()
    	defer fv.Unlock()
    	if fv.VolName == TimeoutOnMountDeviceVolumeName {
    		fv.DeviceMountState[fv.VolName] = deviceMountUncertain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        }
      }];
    }
    
    def TF_RecvOp : TF_Op<"Recv", [TF_RecvSideEffect]> {
      let summary = "Receives the named tensor from send_device on recv_device.";
    
      let arguments = (ins
        StrAttr:$tensor_name,
        StrAttr:$send_device,
        I64Attr:$send_device_incarnation,
        StrAttr:$recv_device,
        DefaultValuedOptionalAttr<BoolAttr, "false">:$client_terminated
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top