12 #ifndef _CU_LINEAR_OPERATOR_CU_DENSE_MATRIX_H_
13 #define _CU_LINEAR_OPERATOR_CU_DENSE_MATRIX_H_
20 #include "../_definitions/types.h"
21 #include "../_c_linear_operator/c_dense_matrix.h"
29 template <
typename DataType>
44 const int num_gpu_devices_);
49 const DataType* device_vector,
50 DataType* device_product);
53 const DataType* device_vector,
55 DataType* device_product);
58 const DataType* device_vector,
59 DataType* device_product);
62 const DataType* device_vector,
64 DataType* device_product);
virtual void transpose_dot_plus(const DataType *device_vector, const DataType alpha, DataType *device_product)
virtual void transpose_dot(const DataType *device_vector, DataType *device_product)
virtual void dot_plus(const DataType *device_vector, const DataType alpha, DataType *device_product)
virtual void copy_host_to_device()
Copies the member data from the host memory to the device memory.
virtual void dot(const DataType *device_vector, DataType *device_product)
Base class for constant matrices.