[Openmp-commits] [PATCH] D95687: [OpenMP][NVPTX] Refined CMake logic to choose compute capabilites

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jan 30 08:31:24 PST 2021


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt:103
+  if (NOT ${sm} IN_LIST all_capabilities)
+    message(FATAL_ERROR "LIBOMPTARGET: [NVPTX] compute capability ${sm} is not supported. Supported values: ${all_capabilities}")
   endif()
----------------
Ye said before we probably don't want this so new capabilities can be compiled for in the future. I guess a warning is better.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95687/new/

https://reviews.llvm.org/D95687



More information about the Openmp-commits mailing list