Skip to content

Commit b206051

Browse files
authored
[Comgr][NFC] Create level 3 heading for env vars
1 parent 1175145 commit b206051

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

amd/comgr/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Comgr supports an environment variable to help locate LLVM:
152152
installation, which is currently used to locate the clang resource directory
153153
and clang binary path, allowing for additional optimizations.
154154

155+
### Caching
155156
Comgr utilizes a cache to preserve the results of compilations between executions.
156157
The cache's status (enabled/disabled), storage location for its results,
157158
and eviction policy can be manipulated through specific environment variables.
@@ -172,6 +173,7 @@ By default, the cache is enabled.
172173
termination. The string format aligns with [Clang's ThinLTO cache pruning policy](https://clang.llvm.org/docs/ThinLTO.html#cache-pruning).
173174
The default policy is set as: "prune_interval=1h:prune_expiration=0h:cache_size=75%:cache_size_bytes=30g:cache_size_files=0".
174175

176+
### Debugging
175177
Comgr supports some environment variables to aid in debugging. These
176178
include:
177179

@@ -192,6 +194,7 @@ include:
192194
* `AMD_COMGR_TIME_STATISTICS`: If this is set, and is not "0", logs will
193195
include additional Comgr-specific timing information for compilation actions.
194196

197+
### VFS
195198
Comgr implements support for an in-memory, virtual filesystem (VFS) for storing
196199
temporaries generated during intermediate compilation steps. This is aimed at
197200
improving performance by reducing on-disk file I/O. Currently, VFS is only supported

0 commit comments

Comments
 (0)