Cuda debugger and dynamic determination of kernel dimensions.


  1. Can we dynamically fix the grid and block dimensions for a kernel in host code??
    Like we set gridDim and BlockDim based on some size which can be determined at run time.

  2. Im using a MAC OSX 10.6.2, 2.26 GHz intel core 2 duo. Does cuda have a debugger for mac osx? Its not on the website for cuda downloads. I need a debugger to figure out a problem which relates to the above question.

Thank you.