Skip to content

Commit

Permalink
More unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Feb 8, 2025
1 parent bfbc4d8 commit f22684f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/enzyme_ad/jax/Passes/LowerJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ CompileCall(SymbolTableCollection &symbolTable, mlir::Location loc,
}
newParams.push_back(p);
}
FunctionType gpuTy = builder.getFunctionType(newParams, {});

auto submod = builder.create<ModuleOp>(loc);

Expand Down Expand Up @@ -723,9 +722,6 @@ CompileCall(SymbolTableCollection &symbolTable, mlir::Location loc,

mlir::Value buffers = entryBlock.getArgument(0);

auto idx = builder.getIntegerType(64);
auto i32 = builder.getIntegerType(32);

SmallVector<mlir::Value> arguments;
for (auto arg : op.getArguments()) {
LLVM::GEPArg args[1] = {arg.getArgNumber()};
Expand Down Expand Up @@ -938,8 +934,6 @@ struct LowerJITPass
: nullptr;
mlir::ArrayAttr output_operand_aliases = op.getOutputOperandAliases();

size_t data[8];

auto *symbolOp = symbolTable.lookupNearestSymbolFrom(op, op.getFnAttr());
auto fn = cast<FunctionOpInterface>(symbolOp);
if (fn.getArguments().size() != op.getInputs().size()) {
Expand Down

0 comments on commit f22684f

Please sign in to comment.