cudaGraphKernelNodeSetGridDim allows you to set the grid dimentions of a kernel node from the device as long as you set that node to be updatable & have a reference to its device node handle.
cudaGraphKernelNodeSetGridDim allows you to set the grid dimentions of a kernel node from the device as long as you set that node to be updatable & have a reference to its device node handle.