cuda erro host_config: #endif sem #if

0

Depois de instalar cuda-8.0 em uma instância ec2-gxl2, estou tentando validar a instalação executando NVIDIA_CUDA-8.0_Samples e obtendo um erro relacionado host_config :

$ cd ~/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery
$ make

Eu recebo:

In file included from /usr/local/cuda-8.0/bin/..//include/cuda_runtime.h:78:0,
                 from deviceQuery.cpp:19:
/usr/local/cuda-8.0/bin/..//include/host_config.h:260:2: error: #endif without #if
 #endif /* !__HOST_CONFIG_H__ */
  ^
Makefile:250: recipe for target 'deviceQuery.o' failed
make: *** [deviceQuery.o] Error 1

Alguém aqui já encontrou esse problema? Obrigado!

    
por Tom 06.10.2016 / 00:39

0 respostas