Skip to content

Commit b6bbfad

Browse files
committed
update CUDA version in create_dependencies.sh
1 parent 60f7b17 commit b6bbfad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/create_dependencies.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ case "${1}" in
2727
;;
2828
esac
2929

30-
(
3130
# need to define CUDA runtime version during cpp runs because we ignore
3231
# system includes.
3332

3433
# special code for mfaktc.c that includes either selftest-data-mersenne.c or
3534
# selftest-data-wagstaff.c, depending on whether mfaktc is configured for
3635
# Mersenne or Wagstaff numbers in params.h. For simplicity's sake, we just add
3736
# both files.
38-
cpp -D CUDART_VERSION=6050 -include selftest-data-mersenne.c -include \
37+
(
38+
cpp -D CUDART_VERSION=13000 -include selftest-data-mersenne.c -include \
3939
selftest-data-wagstaff.c -MM mfaktc.c
4040
echo
4141

4242
for FILE in checkpoint.c output.c parse.c read_config.c sieve.c \
4343
signal_handler.c timer.c tf_96bit.cu tf_barrett96.cu \
4444
tf_barrett96_gs.cu gpusieve.cu cuda_utils.cu crc.c
4545
do
46-
cpp -D CUDART_VERSION=6050 -MM ${FILE}
46+
cpp -D CUDART_VERSION=13000 -MM ${FILE}
4747
echo
4848
done
4949

5050
# special case for 75-bit kernels
51-
cpp -D CUDART_VERSION=6050 -MM tf_96bit.cu -MT tf_75bit.o
51+
cpp -D CUDART_VERSION=13000 -MM tf_96bit.cu -MT tf_75bit.o
5252
) | sed s@\.o:@\.${OBJ}:@

0 commit comments

Comments
 (0)