예제 #1
0
//vzMul	Multiplication of vector elements :  elementwise
void klVSLMul(klVector< complex<double > >& v,klVector< complex<double> >& b, klVector< complex<double > >& ans)
{
	vmlSetMode( VML_LA | VML_FTZDAZ_ON | VML_ERRMODE_ERRNO );
	if(v.getColumns() != b.getColumns() )
	{
		ANSI_INFO; throw klError(err + "Range Argument Exception in klVSLMul");
	}
	const __int64_t n = v.getColumns();


	vzMul( n,  v.getMemory(),b.getMemory(),ans.getMemory());
}
예제 #2
0
DLLEXPORT void z_vector_multiply( const int n, const MKL_Complex16 x[], const MKL_Complex16 y[], MKL_Complex16 result[] ){
	vzMul( n, x, y, result );
}
예제 #3
0
void caffe_mul<complex<double>>(const int n, const complex<double>* a, const complex<double>* b,
    complex<double>* y) {
  vzMul(n, a, b, y);
}