[all-commits] [llvm/llvm-project] 94f5dd: [libomp] OpenMP 6.0 Device-Scope Environment Varia...

Amit Tiwari via All-commits all-commits at lists.llvm.org
Mon Sep 21 22:09:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94f5dd0eb25ed97603af1d0a501c412fcfea6696
      https://github.com/llvm/llvm-project/commit/94f5dd0eb25ed97603af1d0a501c412fcfea6696
  Author: Amit Tiwari <Amit.Tiwari at amd.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M openmp/runtime/src/CMakeLists.txt
    M openmp/runtime/src/dllexports
    M openmp/runtime/src/i18n/en_US.txt
    A openmp/runtime/src/kmp_device_env.cpp
    A openmp/runtime/src/kmp_device_env.h
    M openmp/runtime/src/kmp_runtime.cpp
    M openmp/runtime/src/kmp_settings.cpp
    A openmp/runtime/test/env/omp_default_device_all_rejected.c
    A openmp/runtime/test/env/omp_denylist_extra_coverage.c
    A openmp/runtime/test/env/omp_num_threads_all_demo.c
    A openmp/runtime/test/env/omp_num_threads_all_host.c
    A openmp/runtime/test/env/omp_num_threads_all_set_defaults.c
    A openmp/runtime/test/env/omp_num_threads_dev_all_fallback.c
    A openmp/runtime/test/env/omp_num_threads_dev_invalid.c
    A openmp/runtime/test/env/omp_num_threads_dev_overflow.c
    A openmp/runtime/test/env/omp_num_threads_dev_resolve.c
    A openmp/runtime/test/env/omp_num_threads_host_overrides_all.c
    A openmp/runtime/test/env/omp_num_threads_host_vs_device.c
    A openmp/runtime/test/env/omp_num_threads_warnings_off.c

  Log Message:
  -----------
  [libomp] OpenMP 6.0 Device-Scope Environment Variables  (#197191)

The patch introduces `_ALL` `_DEV` `_DEV_<id>` env var suffixes to the
LLVM's OpenMP host runtime `libomp`. The eligible-list env var currently
supports `OMP_NUM_THREADS`.

Assisted by Claude Opus 4.7 / Claude 4.6 Sonnet



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list