Files
rocm-systems/projects
foreman d578a86da5 P4 to Git Change 2055908 by axie@axie-opencl-rocm2 on 2020/01/13 16:27:17
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


[ROCm/clr commit: 68107b160f]
2020-01-13 16:35:17 -05:00
..