Skip to content

Commit d660c6a

Browse files
author
root
committed
Passes test
1 parent b8881c3 commit d660c6a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Code/matmul/packc.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <stdint.h>
2+
#include <stdbool.h>
23
#include <time.h>
34
#include <iostream>
45
#include <iomanip>
@@ -314,11 +315,12 @@ void matmul_8x8xK_col_row_packc
314315
)
315316
{
316317
packc_8x8();
318+
zero_8x8();
317319

318320
asm("mtctr 7");
319321
asm("LOOP02:");
320322

321-
rank_8_update_8x8_first(0);
323+
rank_8_update_8x8( 0);
322324
rank_8_update_8x8( 512);
323325
rank_8_update_8x8(1024);
324326
rank_8_update_8x8(1536);
@@ -445,7 +447,6 @@ int main
445447

446448
for (int K=64; K<=512; K+=64)
447449
RUN_KERNEL(matmul_8x8xK_col_row , matmul_8x8xK_col_row_count , 8, 8, K, 64);
448-
exit(-1);
449450
for (int K=64; K<=512; K+=64)
450451
RUN_KERNEL(matmul_8x8xK_col_row_packc, matmul_8x8xK_col_row_count , 8, 8, K, 64);
451452

0 commit comments

Comments
 (0)