FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
component_product_mkl.cpp
1// FEAT3: Finite Element Analysis Toolbox, Version 3
2// Copyright (C) 2010 by Stefan Turek & the FEAT group
3// FEAT3 is released under the GNU General Public License version 3,
4// see the file 'copyright.txt' in the top level directory for details.
5
6// includes, FEAT
8#include <kernel/lafem/arch/component_product.hpp>
9
10FEAT_DISABLE_WARNINGS
11#include <mkl.h>
12FEAT_RESTORE_WARNINGS
13
14using namespace FEAT;
15using namespace FEAT::LAFEM;
16using namespace FEAT::LAFEM::Arch;
17
18void ComponentProduct::value_mkl(float * r, const float * const x, const float * const y, const Index size)
19{
20 vsMul((MKL_INT)size, x, y, r);
21}
22
23void ComponentProduct::value_mkl(double * r, const double * const x, const double * const y, const Index size)
24{
25 vdMul((MKL_INT)size, x, y, r);
26}
FEAT Kernel base header.
LAFEM namespace.
Definition: apply.hpp:22
FEAT namespace.
Definition: adjactor.hpp:12
std::uint64_t Index
Index data type.