mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
templateCublas_test.cpp File Reference
#include "../../../catch2/catch.hpp"
#include "../../../../include/math/cuda/cudaPtr.hpp"
#include "../../../../include/math/cuda/templateCublas.hpp"

Go to the source code of this file.

Functions

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

Function Documentation

◆ SCENARIO() [1/4]

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

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

Definition at line 549 of file templateCublas_test.cpp.

◆ SCENARIO() [2/4]

SCENARIO ( "multiplying two vectors element by element"  ,
""  [math::cuda::templateCublas] 
)
Test:
Scenario: multiplying two vectors element by element Tests mx::cuda::elementwiseXxY, as well as basic cudaPtr operations.

Definition at line 334 of file templateCublas_test.cpp.

◆ SCENARIO() [3/4]

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

Tests cublasTscal, as well as basic cudaPtr operations.

Test:

Definition at line 12 of file templateCublas_test.cpp.

◆ SCENARIO() [4/4]

SCENARIO ( "scaling and accumulating a vector with cublas"  ,
""  [math::cuda::templateCublas] 
)
Test:
Scenario: scaling and accumulating a vector with cublas Tests cublasTaxpy, as well as basic cudaPtr operations.

Definition at line 159 of file templateCublas_test.cpp.