improve compatibility with c++ compilers, prepare for CMake

This commit is contained in:
Stefano Sinigardi
2019-02-14 17:28:23 +01:00
parent 3d9c8530a0
commit b3579380dc
128 changed files with 1871 additions and 2258 deletions

View File

@ -1,6 +1,9 @@
#ifndef COL2IM_H
#define COL2IM_H
#ifdef __cplusplus
extern "C" {
#endif
void col2im_cpu(float* data_col,
int channels, int height, int width,
int ksize, int stride, int pad, float* data_im);
@ -10,4 +13,7 @@ void col2im_ongpu(float *data_col,
int channels, int height, int width,
int ksize, int stride, int pad, float *data_im);
#endif
#ifdef __cplusplus
}
#endif
#endif