Skip to content

Commit 3664d1c

Browse files
committed
clean up
1 parent c1d818e commit 3664d1c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

sumpy/e2p.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def get_optimized_kernel(self, max_ntargets_in_one_box):
221221
knl = lp.tag_inames(knl, {"dummy": "l.0"})
222222
knl = lp.set_temporary_address_space(knl, "coeffs", lp.AddressSpace.LOCAL)
223223
knl = lp.set_options(knl,
224-
enforce_variable_access_ordered="no_check", write_code=True)
224+
enforce_variable_access_ordered="no_check", write_code=False)
225225

226226
for transform in optimizations:
227227
knl = transform(knl)
@@ -243,7 +243,6 @@ def get_optimized_kernel(self, max_ntargets_in_one_box):
243243
knl = lp.remove_predicates_from_insn(knl,
244244
frozenset([prim.Variable("run_itgt")]), match)
245245

246-
print(knl)
247246
return knl
248247

249248
def __call__(self, queue, **kwargs):

sumpy/expansion/loopy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ def get_idx(v):
326326
insns.append(insn)
327327
optimizations += [
328328
lambda knl: lp.tag_inames(knl, {
329-
#"e2p_dummy": "l.0",
330329
"e2p_iorder1": "l.0",
331330
f"e2p_{x0}_outer": "unr",
332331
f"e2p_{x0}_inner": "unr",

0 commit comments

Comments
 (0)