SyTen
cuda_addscaled.h File Reference

addScaled() implementation for CUDA dense tensors. More...

#include "inc/dense/cuda.h"
#include "inc/dense/identity.h"
#include "inc/dense/offset.h"
#include "inc/dense/dense.h"
+ Include dependency graph for cuda_addscaled.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 syten
 Syten namespace.
 
 syten::CudaDenseTensorImpl
 Implementation namespace for CUDA dense tensors.
 

Functions

template<Rank rank, typename Scalar >
void syten::CudaDenseTensorImpl::addScaled (CudaDenseTensor< rank, Scalar > &a, CudaDenseTensor< rank, Scalar > const &b, typename IdentityType< Scalar >::type const factor, EliminateZeros const ezeros=EliminateZeros::No)
 Adds the entries of the CUDA dense tensor b scaled by factor to those of a. More...
 
template<Rank rank, typename Scalar >
void syten::CudaDenseTensorImpl::addScaled (CudaDenseTensor< rank, Scalar > &a, DenseTensor< rank, Scalar > const &b, typename IdentityType< Scalar >::type const factor, EliminateZeros const ezeros)
 Adds the entries of the host-based dense tensor b scaled by factor to the CUDA dense tensor a. More...
 
template<Rank rank, typename Scalar >
void syten::CudaDenseTensorImpl::addScaled (CudaDenseTensor< rank, Scalar > &a, IdentityDenseTensor< rank, Scalar > const &b, typename IdentityType< Scalar >::type const factor, EliminateZeros const ezeros)
 Adds the entries of the identity tensor b scaled by factor to the CUDA dense tensor a. More...
 
template<Rank rank, typename Scalar >
void syten::CudaDenseTensorImpl::addScaled (CudaDenseTensor< rank, Scalar > &a, OffsetDenseTensor< rank, Scalar > const &b, typename IdentityType< Scalar >::type const factor, EliminateZeros const ezeros)
 Adds the entries of the offset dense tensor b scaled by factor to the CUDA dense tensor a. More...
 

Detailed Description

addScaled() implementation for CUDA dense tensors.