CUDA Networks
src
linear_algebra
vector_get_rows.cu
Go to the documentation of this file.
1
/**
2
* @file vector_get_rows.cu
3
* @brief Implementation of the Vector::get_rows method.
4
*/
5
#include "
vector.h
"
6
7
int
Vector::get_rows
()
const
{
8
// Return the number of elements in the vector
9
return
rows;
10
}
Vector::get_rows
int get_rows() const
Get the number of elements in the vector.
Definition:
vector_get_rows.cu:7
vector.h
Defines the Vector class for GPU-accelerated vector operations.
Generated by
1.9.1