Add error message to assertion.
Warn that HSA_FORCE_ASIC_TYPE may be needed if the engine major id assertion fails. Change-Id: I67e01e99c3d1bdc84630ccfae489dce5e77961b5
이 커밋은 다음에 포함됨:
1 부모
1a9604ad57
커밋
408fca0278
1 파일이 변경됨
+1
-1
+1
-1
@@ -1114,7 +1114,7 @@ HSAKMT_STATUS topology_sysfs_get_node_props(uint32_t node_id,
|
||||
props->DeviceId);
|
||||
|
||||
if (props->NumFComputeCores)
|
||||
assert(props->EngineId.ui32.Major);
|
||||
assert(props->EngineId.ui32.Major && "HSA_FORCE_ASIC_TYPE may be needed");
|
||||
|
||||
err:
|
||||
free(read_buf);
|
||||
|
||||
새 이슈에서 참조
사용자 차단