Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
srush committed Mar 21, 2024
1 parent ff15a02 commit eaa5505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triton_viz/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def store_load(
tensor, tensor_id = tensor_table[x.ptr]
# inp = base_tensor(tensor.shape, DEFAULT)
color = ACTIVE[tensor_id]
invalid = (x.invalid_access_masks).any()
invalid = x.invalid_access_masks.any()
if invalid:
color = Color("red")
inp = cover(tensor.shape, tensor.dtype, x.original_offsets, x.original_masks, color)
Expand Down

0 comments on commit eaa5505

Please sign in to comment.