[clang] [llvm] OpenMP offload 'simd' directive (PR #91261)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 16:33:59 PDT 2024


================
@@ -322,6 +322,40 @@ uint32_t mapping::getNumberOfProcessorElements() {
   return static_cast<uint32_t>(config::getHardwareParallelism());
 }
 
+uint32_t mapping::getSimdLen() {
+  return 1;
----------------
jdoerfert wrote:

How does this work if it's always 1?

https://github.com/llvm/llvm-project/pull/91261


More information about the llvm-commits mailing list