13.07.2015 Views

CUDA contexts in Maya

CUDA contexts in Maya

CUDA contexts in Maya

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example 1: Synchronous <strong>CUDA</strong> thread• Sync with <strong>CUDA</strong> thread before we draw the buffers.— use a semaphore.— or... simply synchronize the <strong>CUDA</strong> thread: jobSync()Threadsimblitsim<strong>Maya</strong>computedrawcomputedraw must waitfor blit to f<strong>in</strong>ishOpenGLGL renderframe 1 frame 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!