CUDA Networks
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 }
int get_rows() const
Get the number of elements in the vector.
Defines the Vector class for GPU-accelerated vector operations.