Besides...
It looks like you are not using cuda 8, but can't be sure.
I have installed CUDA 8 RC with the deb package from NV.
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
nvcc -g -O2 -I . -Xptxas "-v" --compiler-bindir /usr/bin/gcc -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_52,code=\"sm_52,compute_52\" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o heavy/cuda_blake512.o -c heavy/cuda_blake512.cu
ptxas info : 0 bytes gmem, 632 bytes cmem[3]
ptxas info : Compiling entry function '_Z17blake512_gpu_hashILi84EEvijPvPjS1_' for 'sm_50'
ptxas info : Function properties for _Z17blake512_gpu_hashILi84EEvijPvPjS1_
192 bytes stack frame, 64 bytes spill stores, 64 bytes spill loads
ptxas info : Used 80 registers, 352 bytes cmem[0]
ptxas info : Compiling entry function '_Z17blake512_gpu_hashILi80EEvijPvPjS1_' for 'sm_50'
ptxas info : Function properties for _Z17blake512_gpu_hashILi80EEvijPvPjS1_
192 bytes stack frame, 64 bytes spill stores, 64 bytes spill loads
ptxas info : Used 80 registers, 352 bytes cmem[0]
ptxas info : 0 bytes gmem, 632 bytes cmem[3]
ptxas info : Compiling entry function '_Z17blake512_gpu_hashILi84EEvijPvPjS1_' for 'sm_52'
ptxas info : Function properties for _Z17blake512_gpu_hashILi84EEvijPvPjS1_
192 bytes stack frame, 64 bytes spill stores, 64 bytes spill loads
ptxas info : Used 80 registers, 352 bytes cmem[0]
ptxas info : Compiling entry function '_Z17blake512_gpu_hashILi80EEvijPvPjS1_' for 'sm_52'
ptxas info : Function properties for _Z17blake512_gpu_hashILi80EEvijPvPjS1_
192 bytes stack frame, 64 bytes spill stores, 64 bytes spill loads
ptxas info : Used 80 registers, 352 bytes cmem[0]
/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;
^
Makefile:1772: die Regel für Ziel „heavy/cuda_blake512.o“ scheiterte
make[2]: *** [heavy/cuda_blake512.o] Fehler 1
make[2]: Verzeichnis „/home/venom/Downloads/ccminer-m7-branch-master“ wird verlassen
Makefile:1329: die Regel für Ziel „all-recursive“ scheiterte
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis „/home/venom/Downloads/ccminer-m7-branch-master“ wird verlassen
Makefile:475: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2