Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for platform_id (0.38 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/xla_platform_info.h

      explicit XlaPlatformInfo(
          const DeviceType device_type, se::Platform::Id platform_id,
          const XlaDevice::Metadata* xla_device_metadata,
          const PjRtBaseDevice::Metadata* pjrt_device_metadata,
          std::shared_ptr<se::DeviceMemoryAllocator> device_allocator)
          : device_type_(device_type),
            platform_id_(platform_id),
            xla_device_metadata_(xla_device_metadata),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_platform_info_test.cc

      // XlaPlatformInfo::device_type() is needed to build the appropriate
      // XlaDeviceCompiler.
      Device* device = nullptr;
      XlaPlatformInfo platform_info(DeviceType(DEVICE_TPU), /*platform_id=*/nullptr,
                                    /*xla_device_metadata=*/nullptr,
                                    /*pjrt_device_metadata=*/nullptr,
                                    /*device_allocator=*/nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/jit/xla_compiler_options_util.cc

      options.flib_def = function_library.GetFunctionLibraryDefinition();
      options.graph_def_version = function_library.graph_def_version();
      options.allow_cpu_custom_calls =
          (platform_info.platform_id() == se::host::kHostPlatformId);
      options.device_allocator = GetAllocator(device, stream, platform_info);
      if (platform_info.xla_device_metadata()) {
        options.shape_determination_fns =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/LenientPlatformGraphResolveState.java

                            ComponentIdentifier platformId = platformState.getSelectedPlatformId();
                            if (platformId == null) {
                                // Not sure this can happen, unless in error state
                                platformId = this.platformId;
                            }
                            if (!componentVersion.equals(target)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

        platform_fns_.get_device_count(&platform_, &visible_device_count,
                                       c_status.get());
        if (TF_GetCode(c_status.get()) != TF_OK) {
          LOG(ERROR) << TF_Message(c_status.get());
          return 0;
        }
        return visible_device_count;
      }
      bool UseBfcAllocator() const { return platform_.use_bfc_allocator; }
      bool ForceMemoryGrowth() const { return platform_.force_memory_growth; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. 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)
Back to top