зеркало из https://github.com/microsoft/caffe.git
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:
Родитель
40aa12aa18
Коммит
a9e772f8f7
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче