Skip to content

Commit

Permalink
Integrate Triton up to [b2de88f8](https://github.com/openai/triton/co…
Browse files Browse the repository at this point in the history
  • Loading branch information
The jax_triton Authors committed Aug 28, 2024
1 parent bce82cb commit 7ad41f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jax_triton/triton_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ def get_or_create_triton_kernel(
_triton.ir.load_dialects(context)
cuda_backend.load_dialects(context)
codegen_fns = cuda_backend.get_codegen_implementation()
module_map = cuda_backend.get_module_map()

module = code_gen.ast_to_ttir(
fn,
Expand All @@ -331,6 +332,7 @@ def get_or_create_triton_kernel(
options=cuda_options,
codegen_fns=codegen_fns,
context=context,
module_map=module_map
)
ttir = str(module)

Expand Down

0 comments on commit 7ad41f2

Please sign in to comment.