e39ad34d9cbad0bd95d21ab3d5edd55cdcebab54
Thunk keeps an internal cache of system topology that can be used to speed up subsequent calls to hsaKmtAcquireSystemProperties(). This cache is cleared by calling hsaKmtReleaseSystemProperties() at the beginning of BuildTopology(). hsaKmtRuntimeEnable() also calls hsaKmtAcquireSystemProperties() inside Thunk. Move call to hsaKmtRuntimeEnable() after BuildTopology() so that we can re-use Thunks internal cache. Parsing of of topology can take ~150 ms on systems for large number of nodes. Change-Id: I741709d49d67d244f5fbd707fe8f01ab923bb153
説明
説明が提供されていません
言語
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
その他
1.1%