andersbll / cudarray

CUDA-based NumPy
MIT License
233 stars 61 forks source link

fixes error: ‘memcpy’ was not declared in this scope #61

Closed mariuz closed 8 years ago

mariuz commented 8 years ago

make nvcc -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=compute_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_30,code=compute_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,code=compute_35 -O3 --compiler-options '-O3 -fPIC -Wall -Wfatal-errors' --ftz=true --prec-div=false -prec-sqrt=false --fmad=true -I./include -I/usr/local/cuda/include -c -o src/nnet/pool_b01.o src/nnet/pool_b01.cu /usr/include/string.h: In function ‘void* mempcpyinline(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; ^ compilation terminated due to -Wfatal-errors. Makefile:78: recipe for target 'src/nnet/pool_b01.o' failed

https://github.com/tensorflow/tensorflow/issues/1346

andersbll commented 8 years ago

Thanks! :)