Skip to content

Commit f0e7f01

Browse files
author
abergeron
authored
Merge pull request #553 from pambros/master
add CUDA 9 version when trying to load libnvrtc
2 parents 6710220 + cc6c4fc commit f0e7f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpuarray_buffer_cuda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ static int setup_lib(void) {
176176
res = load_libnvrtc(major, minor, global_err);
177177
if (res != GA_NO_ERROR) {
178178
/* Else, let's try to find a nvrtc corresponding to supported CUDA versions. */
179-
int versions[][2] = {{8, 0}, {7, 5}, {7, 0}};
179+
int versions[][2] = {{9, 0}, {8, 0}, {7, 5}, {7, 0}};
180180
int versions_length = sizeof(versions) / sizeof(versions[0]);
181181
int i = 0;
182182
/* Skip versions that are higher or equal to the driver version */

0 commit comments

Comments
 (0)