Commit fa5db13
Add
Summary:
This commit introduces a new function, `init_with_env`, which initializes TritonParse using the environment variables `TRITON_TRACE_FOLDER` and `TRITON_TRACE_LAUNCH`. This function is intended for use specifically within OSS Triton's source code.
Changes:
- Added `init_with_env` function to facilitate environment-based initialization.
Testing/Verification:
1. Ensure the environment variables are set correctly.
2. Call `init_with_env` and verify that it initializes with the expected parameters.
This enhancement improves the flexibility of the initialization process for users working with environment configurations.
Pull Request resolved: #87
Reviewed By: sfzhu93
Differential Revision: D81160380
Pulled By: FindHao
fbshipit-source-id: 41ecccc17b5a5e0d0d40e1df3dddd6733505f917init_with_env function for environment-based initialization (#87)1 parent 9635953 commit fa5db13
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1016 | 1025 | | |
1017 | 1026 | | |
1018 | 1027 | | |
| |||
0 commit comments