Код: Выделить всё
// The first edition
void gemm_cpu_naive(
int* __restrict__ C,
const int* __restrict__ A,
const int* __restrict__ B,
const int n,
const int m,
const int k){
for(int l=0; l
Подробнее здесь: [url]https://stackoverflow.com/questions/78739060/why-the-loop-order-influence-the-efficiency-of-code-in-gemm[/url]
Мобильная версия