The error is "memcpy not declared" which seems to be a common problem of Ubuntu 16.04 compatibility. I found the same error report in tensorflow, caffee and openCV.https://github.com/tensorflow/tensorflow/pull/2073 ; https://groups.google.com/forum/#!msg/caffe-users/Tm3OsZBwN9Q/XKGRKNdmBAAJ
Their solution is to add cxx_flag: "-D_FORCE_INLINES" to a specific file. However, I've no idea how to do that with Marvin.
And I can run Cuda samples, I also have verified cudnn installation. I think the dependencies are good.
Does anyone get an idea on this?
Environment:
Ubuntu 16.04
GCC v4.8.3
Cuda 7.5
cudnn v5.1
Error Report:
/usr/include/string.h: In function ‘void __mempcpy_inline(void, const void, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char ) memcpy (dest, src, n) + n;
^
marvin.hpp: At global scope:
marvin.hpp:12:17: note: #pragma message: Compiling using StorageT=half ComputeT=float
pragma message "Compiling using StorageT=half ComputeT=float"
The error is "memcpy not declared" which seems to be a common problem of Ubuntu 16.04 compatibility. I found the same error report in tensorflow, caffee and openCV.https://github.com/tensorflow/tensorflow/pull/2073 ; https://groups.google.com/forum/#!msg/caffe-users/Tm3OsZBwN9Q/XKGRKNdmBAAJ Their solution is to add cxx_flag: "-D_FORCE_INLINES" to a specific file. However, I've no idea how to do that with Marvin. And I can run Cuda samples, I also have verified cudnn installation. I think the dependencies are good.
Does anyone get an idea on this?
Environment: Ubuntu 16.04 GCC v4.8.3 Cuda 7.5 cudnn v5.1
Error Report: /usr/include/string.h: In function ‘void __mempcpy_inline(void, const void, size_t)’: /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope return (char ) memcpy (dest, src, n) + n; ^ marvin.hpp: At global scope: marvin.hpp:12:17: note: #pragma message: Compiling using StorageT=half ComputeT=float
pragma message "Compiling using StorageT=half ComputeT=float"