Skip to content

Commit

Permalink
PR #22073: Add a README file in the gpu_specs directory.
Browse files Browse the repository at this point in the history
Imported from GitHub PR #22073

Copybara import of the project:

--
659afd5 by Dimitris Vardoulakis <[email protected]>:

Add a README file in the gpu_specs directory.

--
9a8bf3a by Dimitris Vardoulakis <[email protected]>:

Improved the README.

Merging this change closes #22073

COPYBARA_INTEGRATE_REVIEW=#22073 from dimvar:add-readme-to-gpu_specs 9a8bf3a
PiperOrigin-RevId: 721916973
  • Loading branch information
dimvar authored and Google-ML-Automation committed Jan 31, 2025
1 parent 27a43c1 commit 811a86b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xla/tools/hlo_opt/gpu_specs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The specs in this folder are obtained by calling the appropriate override of
`StreamExecutor::CreateDeviceDescription`, then turned into
`GpuDeviceInfoProto`. (E.g., for NVIDIA GPUs, we call
`CudaExecutor::CreateDeviceDescription`.) The specs are useful when compiling
with the flag `--xla_gpu_target_config_filename`. Since a hardware generation
may have several SKUs, a spec may not be identical to what we would get on a
particular machine, but it will be "close enough".

0 comments on commit 811a86b

Please sign in to comment.