mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
Templatized cuBLAS Unit Tests

Functions

 TEST_CASE ("scaling a vector with cublas", "[math::cuda::templateCublas]")
 Tests cublasTscal, as well as basic cudaPtr operations.
 TEST_CASE ("scaling and accumulating a vector with cublas", "[math::cuda::templateCublas]")
 TEST_CASE ("multiplying two vectors element by element", "[math::cuda::templateCublas]")
 TEST_CASE ("multiplying a vector by a matrix giving increments", "[math::cuda::templateCublas]")

Function Documentation

◆ TEST_CASE() [1/4]

TEST_CASE ( "multiplying a vector by a matrix giving increments" ,
"" [math::cuda::templateCublas] )

multiplying a vector by a matrix Tests mx::cuda::cublasTgemv, as well as basic cudaPtr operations.

Definition at line 576 of file templateCublas_test.cpp.

◆ TEST_CASE() [2/4]

TEST_CASE ( "multiplying two vectors element by element" ,
"" [math::cuda::templateCublas] )

multiplying two vectors element by element Tests mx::cuda::elementwiseXxY, as well as basic cudaPtr operations.

Definition at line 353 of file templateCublas_test.cpp.

◆ TEST_CASE() [3/4]

TEST_CASE ( "scaling a vector with cublas" ,
"" [math::cuda::templateCublas] )

Tests cublasTscal, as well as basic cudaPtr operations.

Exercises cudaPtr upload/download and mx::cuda::cublasTscal.

Definition at line 15 of file templateCublas_test.cpp.

◆ TEST_CASE() [4/4]

TEST_CASE ( "scaling and accumulating a vector with cublas" ,
"" [math::cuda::templateCublas] )

scaling and accumulating a vector with cublas Tests cublasTaxpy, as well as basic cudaPtr operations.

Definition at line 170 of file templateCublas_test.cpp.