-
Notifications
You must be signed in to change notification settings - Fork 0
Issues Handling
Jim00000 edited this page Dec 8, 2017
·
4 revisions
If you encounter the compilation error like that
In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:
error: ‘memcpy’ was not declared in this scope
Then add compilation options -D_FORCE_INLINES
to nvcc flags
That is, nvcc -Xcompiler -fPIC -O2 -c wave_equation_cuda_api.cu -D_FORCE_INLINES