We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6123aa commit 6331179Copy full SHA for 6331179
enzyme/Enzyme/CApi.cpp
@@ -376,11 +376,11 @@ LLVMValueRef EnzymeCreatePrimalAndGradient(
376
.retType = (DIFFE_TYPE)retType,
377
.constant_args = nconstant_args,
378
.uncacheable_args = uncacheable_args,
379
- .returnUsed = returnValue,
380
- .shadowReturnUsed = dretUsed,
+ .returnUsed = (bool)returnValue,
+ .shadowReturnUsed = (bool)dretUsed,
381
.mode = (DerivativeMode)mode,
382
.freeMemory = true,
383
- .AtomicAdd = AtomicAdd,
+ .AtomicAdd = (bool)AtomicAdd,
384
.additionalType = unwrap(additionalArg),
385
.typeInfo = eunwrap(typeInfo, cast<Function>(unwrap(todiff))),
386
},
0 commit comments