68107b160f1171dd9d6e122c68d4c993472b211c
SWDEV-219121 - [Navi][ROCm] Add performance counter support This is initial implementation for Navi 10 performance counter in OpenCL runtime. Tests: 1. http://ocltc.amd.com:8111/viewModification.html?modId=130609&personal=true&tab=vcsModificationBuilds 2. ./ocltst -m oclruntime.so -t OCLPerfCounters Before this code change, the segmenation fault happens inside OpenCL runtime. After this code change, the error happened inside HSA. Error message is generated in function hsa_ven_amd_aqlprofile_start. Inside this function, the C++ try block create exception. The exception error in HSA is "GFXIP is not supported(gfx1010)". We need HSA to add support for Navi. ReviewBoards: http://ocltc.amd.com/reviews/r/18463/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.cpp#5 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.hpp#4 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#94 edit ... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#50 edit
Opis
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Pozostałe
1.1%