I want to compute the optimal gridsize and blocksize in order to have a high rate of occupancy for a kernel launch. I have seen that there is a function in CUDA to do so, which is this one:
cudaOccupancyMaxPotentialBlockSize()
I am using PyCUDA and I would like to know if an equivalent function exists in PyCUDA.