summaryrefslogtreecommitdiffstats
path: root/external/metal-cpp
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2025-08-26 12:56:47 -0400
committerGitHub <noreply@github.com>2025-08-26 09:56:47 -0700
commit5060042bb63cbf42063f5e81c58881e1e8323857 (patch)
treef81dbca4524da449df0c68c492235c363666f6cc /external/metal-cpp
parent7b30ad489198ecedb16a0265f290c1e32772514c (diff)
fix a autodiff crash (#8259)
close #8068. Currently the AutoDiff aggressively scan every IR inst in searching the differentiable IR. This is not efficient and could have bug, details in https://github.com/shader-slang/slang/issues/8068#issuecomment-3214856668. This PR change the behavior. It will do a initial filter to only gather the global differentiable IRs and IRFunc and IRGeneric as well. For IRGeneric, we will pick it only when it's used in other generic function (it's only useful when dealing with dynamic dispatch). Then we will start searching reachable insts from this IR list by using the same method as before.
Diffstat (limited to 'external/metal-cpp')
0 files changed, 0 insertions, 0 deletions