CUDA Networks
|
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>
Go to the source code of this file.
Implementation of the Matrix::sum method for GPU-accelerated summing of all elements in a matrix.
Definition in file matrix_sum.cu.