antirez / antirez/ds4

make cuda-generic

Đang mở
#576 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
22.3k
Fork
2.1k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.