[PATCH] D46992: [AMDGPU] Add perf hints to functions
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 16 18:13:04 PDT 2018
rampitec created this revision.
rampitec added reviewers: yaxunl, vpykhtin.
Herald added subscribers: t-tye, tpr, dstuttard, mgorny, nhaehnle, wdng, kzhuravl, arsenm.
This is adoption of HSAIL perfhint pass. Two types of hints are produced:
1. Function is memory bound.
2. Kernel can use wave limiter.
Currently these hints are used in the scheduler. If a function is suspected
to be memory bound we allow occupancy to decrease to 4 waves in the course
of scheduling.
https://reviews.llvm.org/D46992
Files:
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
lib/Target/AMDGPU/AMDGPUPerfHint.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/CMakeLists.txt
lib/Target/AMDGPU/GCNSchedStrategy.cpp
lib/Target/AMDGPU/SIDefines.h
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.h
test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll
test/CodeGen/AMDGPU/perfhint.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46992.147223.patch
Type: text/x-patch
Size: 27524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180517/49c5136b/attachment.bin>
More information about the llvm-commits
mailing list