VD_acc2VF | VE_acc2VF | VE_acc2VD |
|
Function | Accumulation (corresponds to the += operator) of two vectors at once |
|
Syntax C/C++ | #include <VFmath.h>
void VF_acc2V( fVector Y, fVector X1, fVector X2, ui size );
void VD_accVF( dVector Y, fVector X1, fVector X2, ui size ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::acc2V( const vector<T>& X1, const vector<T>& X2 );
void vector<double>::acc2VF( const vector<float>& X1, const vector<float>& X2 ); |
Pascal/Delphi | uses VFmath;
procedure VF_acc2V( Y, X1, X2:fVector; size:UIntSize );
procedure VD_acc2VF( Y:dVector; X1, X2:fVector; size:UIntSize ); |
|
CUDA function C/C++ | #include <cudaVFmath.h>
#include <cudaVDmath.h>
int cudaVF_acc2V( fVector d_Y, fVector d_X1, fVector d_X2, ui size );
int cudaVD_acc2VF( dVector d_Y, fVector d_X1, fVector d_X2, ui size );
void VFcu_acc2V( fVector h_Y, fVector h_X1, fVector h_X2, ui size );
void VDcu_acc2VF( dVector h_Y, fVector h_X1, fVector h_X2, ui size );
|
CUDA function Pascal/Delphi | uses VFmath, VDmath;
function cudaVF_acc2V( d_Y, d_X1, d_X2:fVector; size:UIntSize ): IntBool;
function cudaVD_acc2VF( d_Y:dVector; d_X1, d_X2:fVector; size:UIntSize ): IntBool;
procedure VFcu_acc2V( h_Y, h_X1, h_X2:fVector; size:UIntSize );
procedure VDcu_acc2VF( h_Y:dVector; h_X1, h_X2:fVector; size:UIntSize );
|
|
Description | Yi += X1i + X2i
|
|
|
|
|