Closed Oxygen-Chu closed 2 years ago
I run this code, and ScaleHLS crashed. `#define N 32 void test_gemm(float C[N][N], float A[N][N], float B[N][N]) { float psum;
for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { psum = 0.0f; for (int k = 0; k < N; k++) { psum += A[i][k] * B[k][j]; } C[i][j] = psum; } }
}`
I run this code, and ScaleHLS crashed. `#define N 32 void test_gemm(float C[N][N], float A[N][N], float B[N][N]) { float psum;
pragma scop
for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { psum = 0.0f; for (int k = 0; k < N; k++) { psum += A[i][k] * B[k][j]; } C[i][j] = psum; } }
pragma endscop
}`