[all-commits] [llvm/llvm-project] 18959b: [OpenMP][DeviceRTL] Fix the support for tasking on...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Jan 11 20:50:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18959be84d25539b1fa719aa1daff181af10cc2f
      https://github.com/llvm/llvm-project/commit/18959be84d25539b1fa719aa1daff181af10cc2f
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/include/Interface.h
    M openmp/libomptarget/DeviceRTL/src/Tasking.cpp

  Log Message:
  -----------
  [OpenMP][DeviceRTL] Fix the support for tasking on the device

This patch fixes the support for tasking on the device.

Note: AMDGPU doesn't support it yet because of no support for `malloc` and `free`.

Fix #59946.

```
➜  ./test_parallel_master_device
[OMPVV_RESULT: test_parallel_master_device.c] Test passed on the device.
```

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D141562




More information about the All-commits mailing list