[all-commits] [llvm/llvm-project] 9435ed: [flang][cuda] Lower DEALLOCATE for device variable...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Apr 17 13:45:44 PDT 2024


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

  Changed paths:
    M flang/lib/Lower/Allocatable.cpp
    M flang/test/Lower/CUDA/cuda-allocatable.cuf

  Log Message:
  -----------
  [flang][cuda] Lower DEALLOCATE for device variables (#89091)

Replace the runtime call to `AllocatableDeallocate` for CUDA device
variable to the newly added `fir.cuda_deallocate` operation.

This is similar with #88980 

A third patch will handle the case of automatic dealloctaion of device
allocatable variables



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