MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / tile

Function tile

tests/unittests/unittest_utils.h:165–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163
164template<typename T>
165void tile(T* x, int m, int n) {
166 for (int i = 1; i < m; ++i) {
167 for (int j = 0; j < n; ++j) {
168 x[i * n + j] = x[j];
169 }
170 }
171}
172
173template<typename T>
174void tile(T* dst, T* src, int m, int n) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected