CUDA Networks
src
linear_algebra
matrix_get_data.cu
Go to the documentation of this file.
1
/**
2
* @file matrix_get_data.cu
3
* @brief Implementation of the Matrix::get_data method.
4
*/
5
#include "
matrix.h
"
6
7
double
*
Matrix::get_data
()
const
{
8
// Return the pointer to the GPU memory
9
return
d_data;
10
}
Matrix::get_data
double * get_data() const
Get the raw data pointer of the matrix.
Definition:
matrix_get_data.cu:7
matrix.h
Defines the Matrix class for GPU-accelerated matrix operations.
Generated by
1.9.1