Skip to content

Commit 7a8131d

Browse files
Add coop-vec insts to non-differentiable insts list (#6227)
1 parent ba9b278 commit 7a8131d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/slang/slang-ir-autodiff-fwd.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,8 @@ InstPair ForwardDiffTranscriber::transcribeInstImpl(IRBuilder* builder, IRInst*
21752175
case kIROp_SizeOf:
21762176
case kIROp_AlignOf:
21772177
case kIROp_Printf:
2178+
case kIROp_MakeCoopVector:
2179+
case kIROp_MakeCoopVectorFromValuePack:
21782180
return transcribeNonDiffInst(builder, origInst);
21792181

21802182
// A call to createDynamicObject<T>(arbitraryData) cannot provide a diff value,

0 commit comments

Comments
 (0)