[all-commits] [llvm/llvm-project] a67566: Allow do concurrent inside cuf kernel directive (#...

Zhen Wang via All-commits all-commits at lists.llvm.org
Thu Feb 20 14:06:07 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a67566b185c56ce84f6b858e431e4d412b40fdaa
      https://github.com/llvm/llvm-project/commit/a67566b185c56ce84f6b858e431e4d412b40fdaa
  Author: Zhen Wang <37195552+wangzpgi at users.noreply.github.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Semantics/check-cuda.cpp
    A flang/test/Lower/CUDA/cuda-doconc.cuf
    M flang/test/Semantics/cuf09.cuf

  Log Message:
  -----------
  Allow do concurrent inside cuf kernel directive (#127693)

Allow do concurrent inside cuf kernel directive to avoid the following
Lowering error:
```
void {anonymous}::FirConverter::genFIR(const Fortran::parser::CUFKernelDoConstruct&): Assertion `bounds && "Expected bounds on the loop construct"' failed.
```

---------

Co-authored-by: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>



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