19.11.2014 Views

Tutorial: Introduction to CUDA Fortran | GTC 2013

Tutorial: Introduction to CUDA Fortran | GTC 2013

Tutorial: Introduction to CUDA Fortran | GTC 2013

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.

Enabling Peer-<strong>to</strong>-Peer Computing<br />

• cudaDeviceCanAccessPeer(accessible, devA, devB)<br />

– Sets accessible <strong>to</strong> 1 if device devA can access devB’s memory<br />

– Access not available when<br />

• devA or devB have compute capability < 2.0<br />

• devA and devB are connected <strong>to</strong> different Intel IOH chips on motherboard<br />

• cudaDeviceEnablePeerAccess(dev, 0)<br />

– Enables the current device <strong>to</strong> access memory on dev

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

Saved successfully!

Ooh no, something went wrong!