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