Kernel code size limitations
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.

Spencer
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.



Spencer

#1
Posted 03/09/2007 02:06 PM   
In theory, a kernel can be 2MB of native instructions.

But, we haven't tested kernels this long. :)
In theory, a kernel can be 2MB of native instructions.



But, we haven't tested kernels this long. :)

#2
Posted 03/09/2007 03:32 PM   
Hi Cyril,

[quote name='Cyril Zeller' date='Mar 9 2007, 10:32 AM']In theory, a kernel can be 2MB of native instructions.

But, we haven't tested kernels this long.  :)
[right][snapback]169553[/snapback][/right]
[/quote]

Thanks. I am not sure I want to get any where close to that size. :)

Spencer
Hi Cyril,



[quote name='Cyril Zeller' date='Mar 9 2007, 10:32 AM']In theory, a kernel can be 2MB of native instructions.



But, we haven't tested kernels this long.  :)

[snapback]169553[/snapback]






Thanks. I am not sure I want to get any where close to that size. :)



Spencer

#3
Posted 03/09/2007 07:58 PM   
Scroll To Top