message: Update set of -std values supported by nvcc.
diff: @@ -176,10 +176,10 @@ def InvokeNvcc(argv, log=False):
  undefines = GetOptionValue(argv, 'U')
  undefines = ''.join([' -U' + define for define in undefines])
  std_options = GetOptionValue(argv, 'std')
  - # currently only c++11 is supported by Cuda 7.0 std argument
  - nvcc_allowed_std_options = ["c++11"]
  + # Supported -std flags as of CUDA 9.0. Only keep last to mimic gcc/clang.
  + nvcc_allowed_std_options = ["c++03", "c++11", "c++14"]
  std_options = ''.join([' -std=' + define
  - for define in std_options if define in nvcc_allowed_std_options])
  + for define in std_options if define in nvcc_allowed_std_options][-1:])
  # The list of source files get passed after the -c option. I don't know of
  # any other reliable way to just get the list of source files to be compiled.
  