Skip to content

Commit b900855

Browse files
authored
Remove constexprs from params in jit.py (#8536)
The `constexprs` field is never used outside `jit.py` and can be computed on-demand from `self.params`. This addresses part of the TODO(jlebar) at line 735.
1 parent 4caa032 commit b900855

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

python/triton/runtime/jit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,6 @@ def __init__(self, fn, version=None, do_not_specialize=None, do_not_specialize_o
740740
# TODO(jlebar): Remove uses of these fields outside this file, then
741741
# remove the fields here.
742742
self.arg_names = [p.name for p in self.params]
743-
self.constexprs = [p.num for p in self.params if p.is_constexpr]
744743

745744
# Hooks that will be called prior to executing "run"
746745
self.pre_run_hooks = []

0 commit comments

Comments
 (0)