Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Dec 18, 2023
1 parent dcca5c4 commit ab71325
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/air_to_ipu/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ std::vector<uint32_t> load_instr_sequence(std::string instr_path) {

template <typename T>
void mm_out(std::vector<T> a, std::vector<T> b, std::vector<T> &r) {
for (size_t m1 = 0; m1 < M; m1++){
for (size_t n1 = 0; n1 < N; n1++){
for (size_t m1 = 0; m1 < M; m1++) {
for (size_t n1 = 0; n1 < N; n1++) {
size_t idx = m1 * N + n1;
r[idx] = (T)(0);
for (size_t k1 = 0; k1 < K; k1++){
for (size_t k1 = 0; k1 < K; k1++) {
T _a = a[k1 + m1 * K];
T _b = b[n1 + k1 * N];
r[idx] += _a * _b;
Expand Down

0 comments on commit ab71325

Please sign in to comment.