Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for DeviceContext (0.3 sec)

  1. tensorflow/compiler/jit/xla_launch_util_test.cc

        input->scalar<ResourceHandle>()() = handle;
        tensors_.push_back(input);
        inputs_.push_back({nullptr, input});
      }
    
     protected:
      DeviceContext* device_context_;
      Allocator* host_allocator_;
      Allocator* device_allocator_;
    
      XlaCompiler::Options compiler_options_;
      xla::PjRtClient* pjrt_client_;
      PjRtDeviceCompiler* device_compiler_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_launch_util.cc

              << inputs.size() << " args";
      std::vector<XlaCompiler::Argument> out;
      out.resize(inputs.size());
    
      // TODO(cheshire): Avoid duplication with framework/op_kernel.h
      DeviceContext* device_context = nullptr;
      if (device != nullptr) {
        TF_RETURN_IF_ERROR(device->TryGetDeviceContext(&device_context));
        bool using_default_context = false;
        auto cleanup = absl::MakeCleanup([&] {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
Back to top