Skip to content

Commit

Permalink
Add support for CUDA 9.1 and 9.2
Browse files Browse the repository at this point in the history
According to [1], CUDA Toolkit version 9.1 was released
in December 2017 and version 9.2 was released in March 2018.

[1] https://developer.nvidia.com/cuda-toolkit-archive

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
  • Loading branch information
keithc-ca committed Jul 31, 2018
1 parent fdd3152 commit c2b803c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions port/common/omrcuda.cpp
Expand Up @@ -999,6 +999,14 @@ const J9CudaLibraryDescriptor runtimeLibraries[] = {
/*
* Include forward-compatible support for runtime libraries.
*/
#if CUDA_VERSION <= 9020
OMRCUDA_LIBRARY_ENTRY(9, 2),
#endif /* CUDA_VERSION <= 9020 */

#if CUDA_VERSION <= 9010
OMRCUDA_LIBRARY_ENTRY(9, 1),
#endif /* CUDA_VERSION <= 9010 */

#if CUDA_VERSION <= 9000
OMRCUDA_LIBRARY_ENTRY(9, 0),
#endif /* CUDA_VERSION <= 9000 */
Expand Down

0 comments on commit c2b803c

Please sign in to comment.