antirez / antirez/ds4

make cuda-generic

オープン
#576 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
22.3k
フォーク
2.1k
平均マージ
1日 3時間
マージ済み PR(30日)
4

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。