[clang] Adding Separate OpenMP Offloading Backend to `libcxx/include/__algorithm/pstl_backends` (PR #66968)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 4 10:28:28 PDT 2023


================
@@ -0,0 +1,27 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP___ALGORITHM_PSTL_BACKENDS_GPU_BACKEND_H
----------------
ldionne wrote:

This should be named `openmp.h`, and the directory should be called `openmp/` or something like that. That way we refer to those as `__algorithm/pstl_backends/openmp.h`, which is not ambiguous.

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


More information about the cfe-commits mailing list