#include <iostream>
#include <cla3p/dense.hpp>
#include <culite/dense.hpp>
#include <culite/algebra.hpp>
int main()
{
hostA = 3.;
hostX = 2.;
hostA >> A;
hostX >> x;
std::cout << "A:\n" << A;
std::cout << "x:\n" << x << "\n";
std::cout << "y1:\n" << y1;
std::cout << "y2:\n" << y2 << "\n";
y1 += A * x;
std::cout << "y1:\n" << y1;
std::cout << "y2:\n" << y2;
return 0;
}
XxMatrix< real_t > RdMatrix
XxVector< real_t > RdVector
void mult(T_Scalar alpha, op_t opA, const dns::XxMatrix< T_Scalar > &A, op_t opB, const dns::XxMatrix< T_Scalar > &B, T_Scalar beta, dns::XxMatrix< T_Scalar > &C, CuBlasHandler &cuBlasHandler=globalCuBlasHandler())
Updates a general matrix with a matrix-matrix product.
XxMatrix< real_t > RdMatrix
Double precision real matrix.
Definition dense.hpp:55
XxVector< real_t > RdVector
Double precision real device vector.
Definition dense.hpp:31