Skip to content

Commit

Permalink
The shared information has been moved from binary to binary.metadata …
Browse files Browse the repository at this point in the history
…in Triton 3.0. Change the code to support that. (#3972)
  • Loading branch information
chengjunlu authored Mar 27, 2024
1 parent 10fbce1 commit 6e09475
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def launcher({', '.join(def_args)}, grid, stream):
launcher.config = cfg
launcher.n_regs = getattr(binary, "n_regs", None)
launcher.n_spills = getattr(binary, "n_spills", None)
launcher.shared = getattr(binary, "shared", None)
launcher.shared = scope["shared"]
launcher.store_cubin = False
# store this global varible to avoid the high overhead of reading it when calling run
if launcher.store_cubin:
Expand Down

0 comments on commit 6e09475

Please sign in to comment.