Skip to content

Commit

Permalink
Merge pull request #553 from pambros/master
Browse files Browse the repository at this point in the history
add CUDA 9 version when trying to load libnvrtc
  • Loading branch information
abergeron authored Nov 14, 2017
2 parents 6710220 + cc6c4fc commit f0e7f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpuarray_buffer_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static int setup_lib(void) {
res = load_libnvrtc(major, minor, global_err);
if (res != GA_NO_ERROR) {
/* Else, let's try to find a nvrtc corresponding to supported CUDA versions. */
int versions[][2] = {{8, 0}, {7, 5}, {7, 0}};
int versions[][2] = {{9, 0}, {8, 0}, {7, 5}, {7, 0}};
int versions_length = sizeof(versions) / sizeof(versions[0]);
int i = 0;
/* Skip versions that are higher or equal to the driver version */
Expand Down

0 comments on commit f0e7f01

Please sign in to comment.