MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / fill_dst

Method fill_dst

dnn/test/rocm/chanwise_convolution.cpp:115–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 void fill_dst() {
116 rng->exec(dst0->tensornd(), {});
117 megdnn_memcpy_D2D(handle, dst1->ptr(), dst0->ptr(), ldst.span().dist_byte());
118 }
119
120 template <class Opr>
121 void exec(Opr* opr0, Opr* opr1) {

Callers 1

TEST_FFunction · 0.45

Calls 5

dist_byteMethod · 0.80
spanMethod · 0.80
execMethod · 0.45
tensorndMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected