In this exercise you will learn how to use different work-group sizes in order to compare the performance difference.
In order to optimize for occupancy try different work-group sizes, by specifying
a different local range for the nd_range
.
Note that if the work-group size exceeds the maximum work-group size the target device supports then it will fail to execute.
Compare the performance of the various work-group sizes you try.
For DevCloud via SSH follow these instructions.
For DPC++: instructions.
For AdaptiveCpp: instructions.