06.08.2012 Views

Getting Started with CUDA

Getting Started with CUDA

Getting Started with CUDA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CUBLAS Helper Functions<br />

cublasInit()<br />

Initializes CUBLAS library<br />

cublasShutdown()<br />

Releases resources used by CUBLAS library<br />

cublasGetError()<br />

Returns last error from CUBLAS core function (+ resets)<br />

cublasAlloc()<br />

Wrapper around cudaMalloc() to allocate space for array<br />

cublasFree()<br />

destroys object in GPU memory<br />

cublas[Set|Get][Vector|Matrix]()<br />

Copies array elements between CPU and GPU memory<br />

Accommodates non-unit strides<br />

© 2008 NVIDIA Corporation.

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

Saved successfully!

Ooh no, something went wrong!