[Openmp-commits] [PATCH] D46901: [libomptarget-nvptx] Test bitcode compiler flags and enable by default

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue May 15 13:22:12 PDT 2018


Hahnfeld added inline comments.


================
Comment at: libomptarget/deviceRTLs/nvptx/CMakeLists.txt:137-142
-      # Decide which ptx version to use. Same choices as Clang.
-      if(CUDA_VERSION_MAJOR GREATER 9 OR CUDA_VERSION_MAJOR EQUAL 9)
-        set(CUDA_PTX_VERSION ptx60)
-      else()
-        set(CUDA_PTX_VERSION ptx42)
-      endif()
----------------
That's already handled in Clang, so I removed it here: https://github.com/llvm-mirror/clang/blob/4f48266/lib/Driver/ToolChains/Cuda.cpp#L627


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D46901





More information about the Openmp-commits mailing list