message: COMP: added support for gcc 6.4 with CUDA 9
diff: @@ -46,10 +46,13 @@ if(CUDA_FOUND)
  if((CMAKE_SYSTEM_NAME MATCHES "Linux" AND CMAKE_COMPILER_IS_GNUCC) OR APPLE)
  # Compatible gcc can be checked in host_config.h
  set(GCC_PATH "")
  - if(${CUDA_VERSION} VERSION_GREATER "6.99")
  + if(${CUDA_VERSION} VERSION_GREATER "8.99")
  + FIND_GCC(GCC_PATH "6" "4")
  + endif()
  + if(NOT GCC_PATH AND ${CUDA_VERSION} VERSION_GREATER "6.99")
  FIND_GCC(GCC_PATH "4" "9")
  endif()
  - if(${CUDA_VERSION} VERSION_GREATER "5.4.99")
  + if(NOT GCC_PATH AND ${CUDA_VERSION} VERSION_GREATER "5.4.99")
  FIND_GCC(GCC_PATH "4" "8")
  endif()
  if(NOT GCC_PATH AND ${CUDA_VERSION} VERSION_GREATER "5.4.99")
  