How big can I make a kernel function? As big as available video RAM? Could I take all 30K lines of the x264 encoder and squeeze them onto the GPU? :)
I could not find code size documented anywhere. There are size limits on shared and constant memory documented somewhere.