Remove use of anonymous member in C builds.
Tools/CodeXL will retain older versions of structs if them need them.
Change-Id: I568d7b445778dd575ef71000b4b839300572288e
[ROCm/ROCR-Runtime commit: a0a3587345]
这个提交包含在:
1 父节点
41ab59b1e7
当前提交
dd8804d7ad
2 个文件已更改
+2
-13
没有与搜索条件相匹配的文件
@@ -684,7 +684,7 @@ hsa_status_t Runtime::PtrInfo(void* ptr, hsa_amd_pointer_info_t* info, void* (*a
|
||||
hsa_amd_pointer_info_t retInfo;
|
||||
|
||||
// check output struct is at least as large as the first info revision.
|
||||
if (info->size < sizeof(struct hsa_amd_pointer_info_v1_s)) return HSA_STATUS_ERROR_INVALID_ARGUMENT;
|
||||
if (info->size < 40) return HSA_STATUS_ERROR_INVALID_ARGUMENT;
|
||||
|
||||
bool returnListData =
|
||||
((alloc != nullptr) && (num_agents_accessible != nullptr) && (accessible != nullptr));
|
||||
|
||||
在新工单中引用
屏蔽一个用户