remove thread count from pragma as drone.io HW varies

This commit is contained in:
Martin Kroeker 2020-04-09 15:47:52 +02:00 committed by GitHub
parent 35036d9b61
commit 67de70813c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ int main(int argc, char *argv[]){
fprintf(stderr, " M=%4d, N=%4d, K=%4d : ", (int)m, (int)n, (int)k); fprintf(stderr, " M=%4d, N=%4d, K=%4d : ", (int)m, (int)n, (int)k);
gettimeofday( &start, (struct timezone *)0); gettimeofday( &start, (struct timezone *)0);
#pragma omp parallel num_threads(96) #pragma omp parallel
for (j=0; j<loops; j++) { for (j=0; j<loops; j++) {
GEMM (&transa, &transb, &m, &n, &k, alpha, a, &lda, b, &ldb, beta, c, &ldc); GEMM (&transa, &transb, &m, &n, &k, alpha, a, &lda, b, &ldb, beta, c, &ldc);
} }