Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for platform_id (0.17 sec)

  1. tensorflow/compiler/jit/xla_platform_info.cc

            persistor_config, DeviceType(DEVICE_TPU_XLA_JIT), nullptr);
        return absl::OkStatus();
      }
    
      if (platform_info.platform_id() == nullptr) {
        return errors::InvalidArgument("platform_id is null.");
      }
      auto platform =
          se::PlatformManager::PlatformWithId(platform_info.platform_id());
      if (!platform.ok()) {
        return platform.status();
      }
    
      absl::StatusOr<xla::Compiler*> compiler_for_platform =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/get_compiler_ir.cc

                                 compiler_arg_source));
    
      se::Platform::Id platform_id = nullptr;
      if (platform_name == DEVICE_CPU) {
        platform_id = se::host::kHostPlatformId;
      }
      XlaPlatformInfo platform_info(DeviceType(platform_name), platform_id,
                                    /*xla_device_metadata=*/nullptr,
                                    /*pjrt_device_metadata=*/nullptr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_launch_util.cc

    se::Platform::Id XlaPlatformInfoFromDevice(DeviceBase* device_base) {
      auto device = static_cast<Device*>(device_base);
      se::Platform::Id platform_id = nullptr;
      if (device->device_type() == DEVICE_CPU) {
        platform_id = se::host::kHostPlatformId;
      }
    
      return platform_id;
    }
    
    absl::flat_hash_map<int, int> CreateVariableLookup(
        const std::vector<VariableInfo>& variables) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/kernels/xla_ops.cc

      run_options.set_rng_seed(GetXLARandomSeed());
    
      absl::StatusOr<xla::ExecutionOutput> execution_output;
      bool run_synchronous =
          !stream || platform_info.platform_id() == se::host::kHostPlatformId;
      if (run_synchronous) {
        execution_output =
            executable->Run(std::move(execution_inputs), run_options);
      } else {
        execution_output =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor.cc

    CPlatform::~CPlatform() {
      executor_cache_.DestroyAllExecutors();
      platform_fns_.destroy_device_fns(&platform_, &device_fns_);
      platform_fns_.destroy_stream_executor(&platform_, &stream_executor_);
      platform_fns_.destroy_timer_fns(&platform_, &timer_fns_);
      destroy_platform_(&platform_);
      destroy_platform_fns_(&platform_fns_);
    }
    
    absl::StatusOr<std::unique_ptr<DeviceDescription>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_device.cc

          device_type_(device_type),
          platform_(platform),
          shape_determination_fns_(std::move(shape_determination_fns)),
          padded_shape_fn_(std::move(padded_shape_fn)),
          use_multiple_streams_(use_multiple_streams) {}
    
    int XlaDevice::Metadata::device_ordinal() const { return device_ordinal_; }
    
    se::Platform* XlaDevice::Metadata::platform() const { return platform_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

              platform_, test_util::DestroyPlatform, platform_fns_,
              test_util::DestroyPlatformFns, device_fns_, se_, timer_fns_);
        }
        absl::StatusOr<StreamExecutor*> maybe_executor =
            cplatform_->ExecutorForDevice(ordinal);
        TF_CHECK_OK(maybe_executor.status());
        return std::move(maybe_executor).value();
      }
      SP_Platform platform_;
      SP_PlatformFns platform_fns_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device.h

        bool UseMultipleStreams() const { return use_multiple_streams_; }
    
       private:
        const int device_ordinal_;
        const DeviceType device_type_;
        se::Platform* platform_;  // Not owned.
        std::vector<XlaShapeLayoutHelpers::ShapeDeterminationFns>
            shape_determination_fns_;
        PaddedShapeFn padded_shape_fn_;
        const bool use_multiple_streams_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho.go

    	S_ATTR_PURE_INSTRUCTIONS   = 0x80000000
    	S_ATTR_DEBUG               = 0x02000000
    	S_ATTR_SOME_INSTRUCTIONS   = 0x00000400
    )
    
    const (
    	PLATFORM_MACOS       MachoPlatform = 1
    	PLATFORM_IOS         MachoPlatform = 2
    	PLATFORM_TVOS        MachoPlatform = 3
    	PLATFORM_WATCHOS     MachoPlatform = 4
    	PLATFORM_BRIDGEOS    MachoPlatform = 5
    	PLATFORM_MACCATALYST MachoPlatform = 6
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top