[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
Loading
Please sign in to comment