Skip to content

Commit

Permalink
more unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Feb 8, 2025
1 parent baa1317 commit bfbc4d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/enzyme_ad/jax/Passes/LowerKernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ bool CompileGPUKernel(SymbolTableCollection &symbolTable, mlir::Location loc,

OpBuilder builder(op);

auto ptrty = LLVM::LLVMPointerType::get(builder.getContext());

FunctionType gpuTy0 = dyn_cast<FunctionType>(op.getFunctionType());
if (!gpuTy0) {
if (auto lty = dyn_cast<LLVM::LLVMFunctionType>(op.getFunctionType())) {
Expand Down Expand Up @@ -246,8 +244,6 @@ bool CompileCPUKernel(SymbolTableCollection &symbolTable, mlir::Location loc,
size_t shmem, enzymexla::KernelCallOp kcall) {
OpBuilder builder(op);

auto ptrty = LLVM::LLVMPointerType::get(builder.getContext());

FunctionType gpuTy0 = dyn_cast<FunctionType>(op.getFunctionType());
if (!gpuTy0) {
if (auto lty = dyn_cast<LLVM::LLVMFunctionType>(op.getFunctionType())) {
Expand Down

0 comments on commit bfbc4d8

Please sign in to comment.