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

Function transpose_naive

dnn/src/x86/utils.cpp:56–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void transpose_naive(
57 const float* src, float* dst, ptrdiff_t lda, ptrdiff_t ldb, size_t n,
58 size_t m) {
59 rep(i, n) rep(j, m) { dst[i * ldb + j] = src[j * lda + i]; }
60}
61
62bool feature_detect_avx2() {
63 uint32_t eax, ebx, ecx, edx;

Callers 1

transposeFunction · 0.70

Calls 1

repFunction · 0.70

Tested by

no test coverage detected