Skip to content

Latest commit

 

History

History
 
 

cuBLAS

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cuBLAS Library - APIs Examples

Description

This folder demonstrates cuBLAS APIs usage.

cuBLAS API Documentation

cuBLAS Samples

cuBLAS Level 1
  • cuBLAS amax

    The sample finds the (smallest) index of the element of the maximum magnitude.

  • cuBLAS amin

    The sample finds the (smallest) index of the element of the minimum magnitude.

  • cuBLAS asum

    The sample computes the sum of the absolute values of the elements of vector x.

  • cuBLAS axpy

    The sample computes a vector-scalar product and adds the result to a vector.

  • cuBLAS copy

    The sample copies the vector x into the vector y.

  • cuBLAS dot

    The sample applies the dot product to vector x and y.

  • cuBLAS nrm2

    The sample computes the Euclidean norm of a vector.

  • cuBLAS rot

    The sample applies the Givens rotation matrix to vector x and y.

  • cuBLAS rotg

    The sample applies the Givens rotation matrix to vector x and y.

  • cuBLAS rotm

    The sample applies the modified Givens rotation matrix to vector x and y.

  • cuBLAS rotmg

    The sample applies the modified Givens rotation matrix to vector x and y.

  • cuBLAS scal

    The sample computes the product of a vector by a scalar.

  • cuBLAS swap

    The sample interchanges the elements of vector x and y.

cuBLAS Level 2
  • cuBLAS gbmv

    The sample performs a banded matrix-vector multiplication.

  • cuBLAS gemv

    The sample performs a matrix-vector multiplication.

  • cuBLAS ger

    The sample performs a rank-1 update .

  • cuBLAS sbmv

    The sample performs a symmetric banded matrix-vector multiplication.

  • cuBLAS spmv

    The sample performs a performs the symmetric packed matrix-vector multiplication.

  • cuBLAS spr

    The sample performs a packed symmetric rank-1 update.

  • cuBLAS spr2

    The sample performs a packed symmetric rank-2 update.

  • cuBLAS symv

    The sample performs a symmetric matrix-vector multiplication.

  • cuBLAS syr

    The sample performs a symmetric rank-1 update.

  • cuBLAS syr2

    The sample performs a symmetric rank-2 update.

  • cuBLAS tbmv

    The sample performs a triangular banded matrix-vector multiplication.

  • cuBLAS tbsv

    The sample solves a triangular banded linear system with a single right-hand-side.

  • cuBLAS tpmv

    The sample performs a triangular packed matrix-vector multiplication.

  • cuBLAS tpsv

    The sample solves a packed triangular linear system with a single right-hand-side.

  • cuBLAS trmv

    The sample performs a triangular matrix-vector multiplication.

  • cuBLAS trsv

    The sample solves a triangular linear system with a single right-hand-side.

  • cuBLAS hemv

    The sample performs a Hermitian matrix-vector multiplication.

  • cuBLAS hbmv

    The sample performs a Hermitian banded matrix-vector multiplication.

  • cuBLAS hpmv

    The sample performs a Hermitian packed matrix-vector multiplication.

  • cuBLAS her

    The sample performs a Hermitian rank-1 update.

  • cuBLAS her2

    The sample performs a Hermitian rank-2 update.

  • cuBLAS hpr

    The sample performs a packed Hermitian rank-1 update.

  • cuBLAS hpr2

    The sample performs a packed Hermitian rank-2 update.

cuBLAS Level 3
  • cuBLAS gemm

    The sample computes a matrix-matrix product with general matrices.

  • cuBLAS gemm3m

    The sample computes matrix-matrix product with general matrices, using the Gauss complexity reduction algorithm.

  • cuBLAS gemmBatched

    The sample computes batches of matrix-matrix product with general matrices.

  • cuBLAS gemmStridedBatched

    The sample computes strided batches of matrix-matrix product with general matrices.

  • cuBLAS hemm

    The sample computes a Hermitian matrix-matrix product.

  • cuBLAS herk

    The sample computes a Hermitian rank-k update.

  • cuBLAS her2k

    The sample computes a Hermitian rank-2k update.

  • cuBLAS herkx

    The sample computes a variation of Hermitian rank-2k update.

  • cuBLAS symm

    The sample computes a symmetric matrix-matrix product.

  • cuBLAS syrk

    The sample computes a symmetric rank-k update.

  • cuBLAS syrk

    The sample computes a symmetric rank-2k update.

  • cuBLAS syrk

    The sample computes a variation of symmetric rank-2k update.

  • cuBLAS trmm

    The sample computes a triangular matrix-matrix product.

  • cuBLAS trsm

    The sample computes a triangular linear system with multiple right-hand-sides.

  • cuBLAS trsmBatched

    The sample computes batched triangular linear systems with multiple right-hand-sides.

cuBLAS Extensions
  • cuBLAS geam

    The sample computes a matrix-matrix addition/transposition.

  • cuBLAS dgmm

    The sample computes a matrix-matrix multiplication.

  • cuBLAS tpttr

    The sample computes a conversion from the triangular packed format to the triangular format.

  • cuBLAS trttp

    The sample computes a conversion from the triangular format to the triangular packed format.

  • cuBLAS AxpyEx

    The sample computes a vector-scalar product and adds the result to a vector.

  • cuBLAS Cherk3mEx

    The sample computes a Hermitian rank-k update, using the Gauss complexity reduction algorithm.

  • cuBLAS CherkEx

    The sample computes a Hermitian rank-k update.

  • cuBLAS Csyrk3mEx

    The sample computes a symmetric rank-k update, using the Gauss complexity reduction algorithm.

  • cuBLAS CsyrkEx

    The sample computes a symmetric rank-k update.

  • cuBLAS DotEx

    The sample applies the dot product to vector x and y.

  • cuBLAS GemmEx

    The sample computes a matrix-matrix product with general matrices.

  • cuBLAS GemmBatchedEx

    The sample computes batches of matrix-matrix product with general matrices.

  • cuBLAS GemmStridedBatchedEx

    The sample computes strided batches of matrix-matrix product with general matrices.

  • cuBLAS Nrm2Ex

    The sample computes the Euclidean norm of a vector.

  • cuBLAS RotEx

    The sample applies the Givens rotation matrix to vector x and y.

  • cuBLAS ScalEx

    The sample computes the product of a vector by a scalar.