SWDEV-535490 - Improve logging (#441)
- Include HIP version/githash in the logs - Add a new method to print library path
这个提交包含在:
6 个文件已更改
+34
-4
没有与搜索条件相匹配的文件
@@ -390,7 +390,6 @@ hsa_status_t Device::loaderQueryHostAddress(const void* device, const void** hos
|
||||
|
||||
// ================================================================================================
|
||||
bool Device::init() {
|
||||
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Initializing HSA stack.");
|
||||
hsa_status_t status = HSA_STATUS_SUCCESS;
|
||||
// Initialize the compiler
|
||||
if (!initCompiler(offlineDevice_)) {
|
||||
@@ -476,7 +475,7 @@ bool Device::init() {
|
||||
gpu_agents_ = valid_agents;
|
||||
}
|
||||
|
||||
LogPrintfInfo("Enumerated GPU agents = %lu", gpu_agents_.size());
|
||||
LogPrintfInfo("Initalizing runtime stack, Enumerated GPU agents = %lu", gpu_agents_.size());
|
||||
|
||||
for (auto agent : gpu_agents_) {
|
||||
std::unique_ptr<Device> roc_device(new Device(agent));
|
||||
|
||||
在新工单中引用
屏蔽一个用户