Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetPlatform (0.47 sec)

  1. tensorflow/compiler/jit/xla_platform_info.cc

      } else if (device_type == DEVICE_GPU) {
        auto device = static_cast<Device*>(device_base);
        platform_id = device->tensorflow_accelerator_device_info()
                          ->stream->parent()
                          ->GetPlatform()
                          ->id();
      } else if (XlaDevice::GetMetadataFromDevice(device_base, &xla_device_metadata)
                     .ok()) {
        // If we are on an XlaDevice, use the underlying XLA platform's allocator
    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_launch_util.cc

      output_tensor_shapes.reserve(ctx->num_outputs());
      if (output.on_host_shape().is_dynamic()) {
        const se::Platform* platform = nullptr;
        if (stream != nullptr) {
          platform = stream->parent()->GetPlatform();
        } else {
          // Stream is not set for the host platform.
          TF_ASSIGN_OR_RETURN(platform,
                              se::PlatformManager::PlatformWithId(
    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