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 7509a6e commit 87325c3Copy full SHA for 87325c3
enzyme/Enzyme/CApi.cpp
@@ -154,6 +154,11 @@ void EnzymeSetCLInteger(void *ptr, int64_t val) {
154
cl->setValue((int)val);
155
}
156
157
+int64_t EnzymeGetCLInteger(void *ptr) {
158
+ auto cl = (llvm::cl::opt<int> *)ptr;
159
+ return (int64_t)cl->getValue();
160
+}
161
+
162
EnzymeLogicRef CreateEnzymeLogic() {
163
return (EnzymeLogicRef)(new EnzymeLogic());
164
enzyme/Enzyme/Utils.h
@@ -699,6 +699,7 @@ allUnsyncdPredecessorsOf(llvm::Instruction *inst,
699
700
701
#include "llvm/Analysis/LoopInfo.h"
702
703
static inline void
704
/// Call the function f for all instructions that happen between inst1 and inst2
705
/// If the function returns true, the iteration will early exit
0 commit comments