cuLite v0.3.1
A lite CUDA C++ Interface
Loading...
Searching...
No Matches
ex02a_dense_matrix_create.cpp
#include <iostream>
#include <culite/dense.hpp>
int main()
{
/*
* Double precision real empty matrix
*/
std::cout << A.info("A");
/*
* (3x4) single precision real matrix (uninitialized values)
*/
std::cout << B.info("B");
/*
* Allocate space for A (5x2, uninitialized values)
*/
std::cout << A.info("A");
return 0;
}
std::string info(const std::string &header="") const
Get information about the device matrix.
XxMatrix< real4_t > RfMatrix
Single precision real matrix.
Definition dense.hpp:61
XxMatrix< real_t > RdMatrix
Double precision real matrix.
Definition dense.hpp:55