P4 to Git Change 1611614 by wchau@wchau_OCL_boltzmann on 2018/09/27 12:54:16
SWDEV-164014 - OCLPerfCounters results in "LLVM ERROR: out of memory"
- use generic hsa_ven_amd_aqlprofile_pfn_t to point to extension function table
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.hpp#3 edit
[ROCm/clr commit: 5616270bbd]
Tá an tiomantas seo le fáil i:
@@ -106,8 +106,9 @@ class PerfCounterProfile : public amd::ReferenceCountedObject {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (hsa_system_get_major_extension_table(HSA_EXTENSION_AMD_AQLPROFILE, 1,
|
||||
sizeof(hsa_ven_amd_aqlprofile_1_00_pfn_t), &api_) != HSA_STATUS_SUCCESS) {
|
||||
if (hsa_system_get_major_extension_table(HSA_EXTENSION_AMD_AQLPROFILE,
|
||||
hsa_ven_amd_aqlprofile_VERSION_MAJOR, sizeof(hsa_ven_amd_aqlprofile_pfn_t),
|
||||
&api_) != HSA_STATUS_SUCCESS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir