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

Function printMatrixWithLimit

tests/unittests/unittest_utils.h:190–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188
189template<typename T>
190static inline void printMatrixWithLimit(T* ptr, int m, int k, int stride, bool is_device_ptr) {
191 printMatrix(ptr, std::min(PRINT_LIMIT, m), std::min(PRINT_LIMIT, k), stride, is_device_ptr);
192}

Callers

nothing calls this directly

Calls 1

printMatrixFunction · 0.50

Tested by

no test coverage detected