Merge pull request #453 from wernsaar/develop
[platform/upstream/openblas.git] / test / get_threading_model.c
1 #include "../cblas.h"
2
3 int main() {
4         int th_model = openblas_get_parallel();
5         switch(th_model) {
6                 case OPENBLAS_SEQUENTIAL:
7                         printf("OpenBLAS is compiled sequentially.\n");
8                         break;
9                 case OPENBLAS_THREAD:
10                         printf("OpenBLAS is compiled using the normal threading model\n");
11                         break;
12                 case OPENBLAS_OPENMP:
13                         printf("OpenBLAS is compiled using OpenMP\n");
14                         break;
15         }
16         return 0;
17 }
18