Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion python/triton/language/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from dataclasses import dataclass
import builtins
from .. import knobs
from ..runtime.jit import JITCallable
from ..runtime.jit import constexpr_function, JITCallable
import inspect

from .._C.libtriton import ir
Expand Down Expand Up @@ -810,6 +810,7 @@ def __init__(self):
pi32_t = pointer_type(int32)


@triton.constexpr_function
def get_int_dtype(bitwidth: int, signed: bool) -> dtype:
if bitwidth == 1:
return int1
Expand Down