Commit 23524591 authored by xgqdut2016's avatar xgqdut2016
Browse files

issue/130: modfied format

parent 2c8e3006
...@@ -43,7 +43,7 @@ void calculate( ...@@ -43,7 +43,7 @@ void calculate(
std::swap(a, b); std::swap(a, b);
} }
#pragma omp parallel for #pragma omp parallel for
for(ptrdiff_t index = 0; index < ptrdiff_t(info.batch * info.m * info.n); ++index){ for (ptrdiff_t index = 0; index < ptrdiff_t(info.batch * info.m * info.n); ++index) {
size_t ind = index; size_t ind = index;
size_t n_ = ind % info.n; size_t n_ = ind % info.n;
ind /= info.n; ind /= info.n;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment