Initial version of cuda code to manage a ring buffer
Implement decomposition in cuda for framebuffer