Skip to content

Commit

Permalink
Triton internal integration
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 595147751
  • Loading branch information
The jax_triton Authors committed Jan 3, 2024
1 parent 7778c47 commit a904c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jax_triton/triton_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from triton.compiler import compiler as tc
import triton.language as tl
from triton.runtime import autotuner
import triton._C.libtriton.triton as _triton
import triton._C.libtriton as _triton
from triton.common.backend import get_backend
import triton.compiler.backends.cuda as cb

Expand Down Expand Up @@ -216,7 +216,7 @@ def compile_ttir_to_ptx_inplace(
except RuntimeError as e:
ttgir.dump()
raise ValueError("TTGIR->LLIR pass failed!") from e
shared_mem_bytes = _triton.get_shared_memory_size(ttgir)
shared_mem_bytes = _triton.translation.get_shared_memory_size(ttgir)
if cuda_options.debug:
print(llir)
ptx = cuda_backend.make_ptx(
Expand Down

0 comments on commit a904c80

Please sign in to comment.