HyeonwooNoh / DPPnet

DPPnet: Image Question Answering using Convolutional Neural Network with Dynamic Parameter Prediction
Other
95 stars 45 forks source link

Compilation under CUDA 7.5 fails #1

Closed iamaaditya closed 8 years ago

iamaaditya commented 8 years ago

When compiling under CUDA 7.5 fails with following error

/usr/local/cuda/include/cuda_fp16.h:314:83: error: conflicting declaration of C function ‘half ldg(const half_)’ /usr/local/cuda/include/cuda_fp16.h:313:60: note: previous declaration ‘half2 ldg(const half2_)’ /usr/local/cuda/include/cuda_fp16.h: In function ‘half2 ldg(const half2_)’: /usr/local/cuda/include/cuda_fp16.h:1180:84: error: conflicting declaration of C function ‘half2 ldg(const half2_)’ /usr/local/cuda/include/cuda_fp16.h:314:59: note: previous declaration ‘half ldg(const __half*)’ CMake Error at hashnn_generated_myhashnn.cu.o.cmake:262 (message): Error generating file /home/ap/DPPnet/model/HashedNets/libhashnn/_build/CMakeFiles/hashnn.dir//./hashnn_generated_myhashnn.cu.o