[all-commits] [llvm/llvm-project] 56b792: [flang][cuda] Use the aysncId in device allocation...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Apr 9 17:35:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56b792322aaaa82883d56a322a94448de519f789
      https://github.com/llvm/llvm-project/commit/56b792322aaaa82883d56a322a94448de519f789
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M flang-rt/lib/cuda/allocator.cpp

  Log Message:
  -----------
  [flang][cuda] Use the aysncId in device allocation (#135099)

Use `cudaMallocAsync` in the `CUFAllocDevice` allocator when asyncId is
provided.

More work is needed to be able to call `cudaFreeAsync` since the
allocated address and stream needs to be tracked.



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