forked from ApolloAuto/apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ApolloAuto#102 from amd/anefedov/build_rocm_config
[AMD][build][bazel] Introduce `rocm_config.h` and `rocm_config.py`
- Loading branch information
Showing
4 changed files
with
80 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef ROCM_CONFIG_H_ | ||
#define ROCM_CONFIG_H_ | ||
|
||
#define TF_ROCM_AMDGPU_TARGETS "%{rocm_amdgpu_targets}" | ||
#define TF_ROCM_TOOLKIT_PATH "%{rocm_toolkit_path}" | ||
#define TF_ROCM_VERSION "%{rocm_version_number}" | ||
#define TF_HIP_VERSION "%{hipruntime_version_number}" | ||
#define TF_HIPBLAS_VERSION "%{hipblas_version_number}" | ||
#define TF_MIOPEN_VERSION "%{miopen_version_number}" | ||
#define TF_MIGRAPHX_VERSION "%{migraphx_version_number}" | ||
|
||
#endif // ROCM_CONFIG_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
config = %{rocm_config} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters