antirez / antirez/ds4

make cuda-generic

Abierto
#576 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C
Estrellas
22.3k
Forks
2.1k
Merge medio
1 d 3 h
PR fusionados (30 d)
4

Descripción

make cuda-generic
make -B ds4 ds4-server ds4-bench ds4-eval ds4-agent CUDA_ARCH=native
make[1]: Entering directory '/home/itoperator/piattaforme/ds4'
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o ds4_cli.o ds4_cli.c
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o ds4_help.o ds4_help.c
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o linenoise.o linenoise.c
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o ds4_gpu_args.o ds4_gpu_args.c
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o ds4.o ds4.c
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o ds4_distributed.o ds4_distributed.c
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o ds4_tp.o ds4_tp.c
cc -O3 -ffast-math -g -march=native -Wall -Wextra -std=c99 -D_GNU_SOURCE -fno-finite-math-only -c -o ds4_ssd.o ds4_ssd.c
/usr/local/cuda/bin/nvcc -O3 -g -lineinfo --use_fast_math -arch=native -Xcompiler -march=native -Xcompiler -pthread -c -o ds4_cuda.o ds4_cuda.cu
ds4_cuda.cu(23467): error: identifier "FLT_MAX" is undefined
float M = -FLT_MAX / 2.0f;
^

ds4_cuda.cu(23821): error: identifier "FLT_MAX" is undefined
float local_max = -FLT_MAX;
^

ds4_cuda.cu(24024): error: identifier "FLT_MAX" is undefined
float local_max = -FLT_MAX;
^

3 errors detected in the compilation of "ds4_cuda.cu".
make[1]: *** [Makefile:247: ds4_cuda.o] Error 2
make[1]: Leaving directory '/home/itoperator/piattaforme/ds4'
make: *** [Makefile:120: cuda-generic] Error 2

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.