jski

Problem with brcc?

Discussion created by jski on Nov 3, 2008
Latest reply on Nov 4, 2008 by jski

I am trying to build double_precision_optimized_matmult with a call to cblas_dgemm(...) from Intel's MKL to compare GPU vs CPU times. I need to use MKL_INT, CBLAS_ORDER, and CBLAS_TRANSPOSE which are #define'd in mkl_types.h. Unfortunately I can't remedy this by editing config.mk and/or main.mk in /usr/local/amdbrook/samples/utils/build. Apparently the brcc compiler/preprocessor rejects MKL_INT, CBLAS_ORDER, and CBLAS_TRANSPOSE before the C-preprocessor (via g++) is ever invoked - even though I #include <mkl_types.h>. How can I get brcc to see MKL_INT, CBLAS_ORDER, and CBLAS_TRANSPOSE #define'd in mkl_types.h?

---jski

 

Outcomes