Skip to content

Commit ad361ae

Browse files
committed
feat(typing): update call type in p2p
1 parent cccce32 commit ad361ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sumpy/p2p.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ def get_optimized_kernel(self, max_nsources_in_one_box,
763763
# be as large as before. Need to simplify before unprivatizing
764764
knl = lp.simplify_indices(knl)
765765
knl = lp.unprivatize_temporaries_with_inames(knl,
766-
"iprefetch", only_var_names=local_arrays)
766+
"iprefetch", only_var_names=frozenset(local_arrays))
767767

768768
knl = lp.add_inames_to_insn(knl,
769769
"inner", "id:init_* or id:*_scaling or id:src_box_insn_*")

0 commit comments

Comments
 (0)