26.06.2015 Views

Advanced_GPU_talk

Advanced_GPU_talk

Advanced_GPU_talk

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.

Multi-<strong>GPU</strong><br />

• You can control multiple <strong>GPU</strong>s from the same process<br />

• One or more threads - cudaSetDevice(id)<br />

• Can cross-schedule cudaEventSynchronize() and<br />

cudaStreamWaitForEvent()<br />

• Peer-to-peer access - cudaDeviceEnablePeerAccess<br />

• cudaMemcpyPeerAsync(…)<br />

• Can pass pointers between devices - paged copies<br />

• UVA - can get lazy with source, destination pointers<br />

• cudaMemcpyAsync(target,source, size, stream,<br />

cudaMemcpyDefault)

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

Saved successfully!

Ooh no, something went wrong!