This is a collection of OpenCL kernels that should be able to reproduce the global memory performance numbers given in the AMD Accelerated Parallel Processing OpenCL™ Programming Guide and NVIDIA's OpenCL Best Practices Guide. Those kernels are wrapped by python script handline all the boilerplate and the actual measurements.
There are multiple scripts to choose from. For each script you will get additional invocation options by invoking it with --help
:
bandwidth.py
- Compare the bandwidth of multiple kernels for a given memory size.- ```sweepMemSize.py`` - Check the performance of a single kernel over a certain memory size range.