See https://github.com/xmartlabs/cuda-calculator and https://github.com/karthikeyann/cuda-calculator (more recent version). Also see `pycuda.tools.OccupancyRecord` - need to see if there's an equivalent in PyOpenCL, and how up-to-date it is.
See https://github.com/xmartlabs/cuda-calculator and https://github.com/karthikeyann/cuda-calculator
(more recent version). Also see
pycuda.tools.OccupancyRecord- need to see if there's an equivalent in PyOpenCL, and how up-to-date it is.