[all-commits] [llvm/llvm-project] 2aa90d: [CUDA] Update cached kernel handle when the functi...

Artem Belevich via All-commits all-commits at lists.llvm.org
Tue Mar 21 15:36:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aa90da012596712a4166e96d2a40fc90598c7fb
      https://github.com/llvm/llvm-project/commit/2aa90da012596712a4166e96d2a40fc90598c7fb
  Author: Artem Belevich <tra at google.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M clang/lib/CodeGen/CGCUDANV.cpp
    A clang/test/CodeGenCUDA/bug-kerner-registration-reuse.cu

  Log Message:
  -----------
  [CUDA] Update cached kernel handle when the function instance changes.

Fixes clang crash caused by a stale function pointer.

The bug has been present for a pretty long time, but we were lucky not to
trigger it until  D140663.

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




More information about the All-commits mailing list