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

Method fill_src

dnn/test/rocm/chanwise_convolution.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void fill_src() {
90 rng->exec(src0->tensornd(), {});
91 megdnn_memcpy_D2D(handle, src1->ptr(), src0->ptr(), lsrc.span().dist_byte());
92 }
93
94 void fill_flt() {
95 rng->exec(flt1->tensornd(), {});

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