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

Method fill_src

dnn/test/cuda/chanwise_convolution3d.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 void fill_src() {
91 rng->exec(src0->tensornd(), {});
92 megdnn_memcpy_D2D(handle, src1->ptr(), src0->ptr(), lsrc.span().dist_byte());
93 }
94
95 void fill_flt() {
96 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