antirez / antirez/ds4

make cuda-generic

Ouverte
#576 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
22.3k
Forks
2.1k
Merge moyen
1 j 3 h
PR mergées (30 j)
4

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.