Increasing occupancy is not always the answer. I was able to double throughput b...
Ignacio Castaño🍉 @castano@mastodon.gamedev.place
Increasing occupancy is not always the answer. I was able to double throughput by artificially lowering occupancy in order to limit the number of threads that can run concurrently. In this case more threads just caused L1 thrashing. For best performance you have to size the dispatch so that the working set fits in the L1.
Artificially limiting occupancy to meet a target is not particularly easy. Wish this could be communicated to the driver/compiler somehow.