nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 1.1 kB view raw
1libhsa-amd-aqlprofile64 library is unfree 2Bug: https://github.com/ROCm/ROCm/issues/1781 3--- a/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp 4+++ b/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp 5@@ -1333,11 +1333,6 @@ hsa_status_t GpuAgent::GetInfo(hsa_agent_info_t attribute, void* value) const { 6 setFlag(HSA_EXTENSION_AMD_PC_SAMPLING); 7 } 8 9- if (os::LibHandle lib = os::LoadLib(kAqlProfileLib)) { 10- os::CloseLib(lib); 11- setFlag(HSA_EXTENSION_AMD_AQLPROFILE); 12- } 13- 14 setFlag(HSA_EXTENSION_AMD_PROFILER); 15 16 break; 17--- a/runtime/hsa-runtime/core/runtime/hsa.cpp 18+++ b/runtime/hsa-runtime/core/runtime/hsa.cpp 19@@ -490,7 +490,7 @@ hsa_status_t hsa_system_get_major_extension_table(uint16_t extension, uint16_t v 20 return HSA_STATUS_SUCCESS; 21 } 22 23- if (extension == HSA_EXTENSION_AMD_AQLPROFILE) { 24+ if (0) { 25 if (version_major != hsa_ven_amd_aqlprofile_VERSION_MAJOR) { 26 debug_print("aqlprofile API incompatible ver %d, current ver %d\n", 27 version_major, hsa_ven_amd_aqlprofile_VERSION_MAJOR);