using different maxregcounts for different kernels

Hi,

I have a linux machine and use make files to build code. I am not very good with make files etc.

I need to use differnt maxregcount values for compilation of 2 differnt kernels of the same project. Can any one suggest me a way?

Thanks
Sid.

A similar thread: http://forums.nvidia.com/index.php?showtopic=92964

In short, you place each kernel into its own .cu file and compile each file with a different maxregcount value. You can (possibly) then link them or use the driver API to load them.

Hopefully that will get you started!

Thanks for the link. It is helpful, will try it out.