diff options
author | Vincent Lejeune <vljn@ovi.com> | 2013-06-07 23:30:34 +0000 |
---|---|---|
committer | Vincent Lejeune <vljn@ovi.com> | 2013-06-07 23:30:34 +0000 |
commit | 843c6c2d0e83bcd52a215d768bacaa7b5ffe16a4 (patch) | |
tree | 5c1348e877b36cf4695b7d7d50c3e01edca25996 /test | |
parent | b01bdf87ff5e13eb22fcc20cd395bf282fbf1ecd (diff) | |
download | llvm-843c6c2d0e83bcd52a215d768bacaa7b5ffe16a4.tar.gz llvm-843c6c2d0e83bcd52a215d768bacaa7b5ffe16a4.tar.bz2 llvm-843c6c2d0e83bcd52a215d768bacaa7b5ffe16a4.tar.xz |
R600: Use a refined heuristic to choose when switching clause
This is using a hint from AMD APP OpenCL Programming Guide with
empirically tweaked parameters.
I used Unigine Heaven 3.0 to determine best parameters on my system
(i7 2600/Radeon 6950/Kernel 3.9.4) the benchmark :
it went from 38.8 average fps to 39.6, which is ~3% gain.
(Lightmark 2008.2 gain is much more marginal: from 537 to 539)
There is no lit test provided as the parameter were determined
empirically and it it would be nearly impossiblet to find a test
program that check for optimal behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions