Community
cancel
Showing results for 
Search instead for 
Did you mean: 
zzzhhh
Beginner
176 Views

Where is the value of "CblasRowMajor" set and declared in MKL tutorial sample?

Jump to solution

In the C version of MKL's tutorial, source file dgemm_example.c, line 71:

    cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 
                m, n, p, alpha, A, p, B, n, beta, C, n);

Where is the varialble `CblasRowMajor` declared and where is the value of this variable set? I couldn't find any clue about it in the source file. Thank you for your help.

0 Kudos

Accepted Solutions
Gennady_F_Intel
Moderator
176 Views

These declarations you may see into header files, e.x. - mkl_cblas.h:

typedef enum {CblasRowMajor=101, CblasColMajor=102} CBLAS_LAYOUT;

View solution in original post

2 Replies
Gennady_F_Intel
Moderator
177 Views

These declarations you may see into header files, e.x. - mkl_cblas.h:

typedef enum {CblasRowMajor=101, CblasColMajor=102} CBLAS_LAYOUT;

View solution in original post

zzzhhh
Beginner
176 Views

Thank you, Gennady. I had thought it is a variable; turns out that it is an enum constant ...