MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / multiply_inplace

Function multiply_inplace

src/backend/cuda/copy.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56template<typename T>
57void multiply_inplace(Array<T> &src, double norm) {
58 if (src.elements() > 0) {
59 kernel::copy<T, T>(src, src, src.ndims(), scalar<T>(0), norm);
60 }
61}
62
63template<typename inType, typename outType>
64struct copyWrapper {

Callers 3

fftFunction · 0.50
fft_r2cFunction · 0.50
fft_c2rFunction · 0.50

Calls 2

elementsMethod · 0.45
ndimsMethod · 0.45

Tested by

no test coverage detected