Added extern C wrapper to cblas.h include

This ensures that it works with ATLAS's header file, which doesn't include such
a guard itself (whereas the reference version from Ubuntu's libblas-dev does)
This commit is contained in:
James Thewlis 2014-03-03 17:43:20 +00:00 коммит произвёл Evan Shelhamer
Родитель 40aa12aa18
Коммит a9e772f8f7
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -9,7 +9,9 @@
#else // If use MKL, simply include the MKL header
extern "C" {
#include <cblas.h>
}
#include <math.h>
// Functions that caffe uses but are not present if MKL is not linked.