CUDA Networks
matrix_get_cols.cu
Go to the documentation of this file.
1 /**
2  * @file matrix_get_cols.cu
3  * @brief Implementation of the Matrix::get_cols method.
4  */
5 #include "matrix.h"
6 
7 int Matrix::get_cols() const {
8  // Return the number of columns in the matrix
9  return cols;
10 }
int get_cols() const
Get the number of columns in the matrix.
Defines the Matrix class for GPU-accelerated matrix operations.