Skip to content

Commit

Permalink
Fix caching multi kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jan 7, 2025
1 parent 9207422 commit d601991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/enzyme_ad/jax/Passes/LowerKernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ CallInfo CompileKernel(SymbolTableCollection &symbolTable, mlir::Location loc,
return {};

ptr = CompileHostModule(ss.str(), submod, run_init, &cuLaunchKernelPtr);
kernels[ss.str()] = ptr;

submod.erase();
}
Expand Down

0 comments on commit d601991

Please sign in to comment.