CUDA Networks
matrix_sum.cu File Reference

Implementation of the Matrix::sum method for GPU-accelerated summing of all elements in a matrix. More...

#include "matrix.h"
#include <cuda_runtime.h>
#include <thrust/device_ptr.h>
#include <thrust/reduce.h>
Include dependency graph for matrix_sum.cu:

Go to the source code of this file.

Detailed Description

Implementation of the Matrix::sum method for GPU-accelerated summing of all elements in a matrix.

Definition in file matrix_sum.cu.