06.08.2012 Views

Getting Started with CUDA

Getting Started with CUDA

Getting Started with CUDA

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.

Using CUBLAS<br />

Interface to CUBLAS library is in cublas.h<br />

Function naming convention<br />

cublas + BLAS name<br />

eg. cublasSgemm<br />

Following BLAS convention, CUBLAS uses<br />

column-major storage<br />

Error handling<br />

CUBLAS core functions do not return an error<br />

CUBLAS provides function to retrieve last error recorded<br />

CUBLAS helper functions do return an error<br />

Implemented using C-based <strong>CUDA</strong> tool chain<br />

Interfacing to C/C++ applications is trivial<br />

© 2008 NVIDIA Corporation.

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

Saved successfully!

Ooh no, something went wrong!