Re:Microbenchmarking Intel’s Arc A770
by DRAGONERO on Thursday October 20, 2022 @04:49PM
(#33280495)
Is the benchmark suite available somewhere?
[ Parent
| on HN ]
Re:Microbenchmarking Intel’s Arc A770
by clamchowder on Thursday October 20, 2022 @04:59PM
(#33280609)
(Author here)
See https://github.com/clamchowder/Microbenchmarks/tree/master/G...
It's very much a work in progress, as noted in the article. And some of the stuff that worked reasonably well on my cards, like the instruction rate test when trying to measure throughput across the entire card, went down the drain when run on Arc.
Have you tried reducing the register count in your FP32 FMA test by increasing the iteration count and reducing the number of values computed per loop?
Instead of computing 8 independent values, compute one with 8x more iterations:
for (int i = 0; i < count * 8; i++) {
v0 += acc * v0;
}
That plus inlining the iteration count so the compiler can unroll the loop might help get closer to SOL.
Re:Microbenchmarking Intel’s Arc A770
by clamchowder on Thursday October 20, 2022 @06:12PM
(#33281483)
The problem is loop overhead matters on AMD, because AMD's compiler doesn't unroll the loop. Nvidia's does, so it doesn't matter for them.
Re:Microbenchmarking Intel’s Arc A770
by WithinReason on Friday October 21, 2022 @06:17AM
(#33286445)
unroll with #pragma unroll?