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

Method copy

src/backend/cpu/kernel/copy.hpp:96–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94template<typename OutT, typename InT>
95struct CopyImpl {
96 static void copy(Param<OutT> dst, CParam<InT> src) {
97 copyElemwise(dst, src, scalar<OutT>(0), 1.0);
98 }
99};
100
101template<typename T>

Callers 14

joinFunction · 0.45
reduce_by_key_firstFunction · 0.45
reduce_by_key_dimFunction · 0.45
ArrayMethod · 0.45
writeHostDataArrayFunction · 0.45
writeDeviceDataArrayFunction · 0.45
copyDataFunction · 0.45
copyArrayFunction · 0.45
operator()Method · 0.45
getScalarFunction · 0.45
sortByKeyBatchedFunction · 0.45
memcpyBufferFunction · 0.45

Calls 1

copyElemwiseFunction · 0.85

Tested by

no test coverage detected