Skip to content

Commit

Permalink
fix porting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Oct 17, 2023
1 parent 44a7a7d commit af7a6ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytential/unregularized.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def copy_targets_kernel(self):
knl = lp.tag_array_axes(knl, "targets", "stride:auto, stride:1")
knl = lp.tag_inames(knl, {"dim": "ilp"})

return knl.executor(self.cl_context)
return knl.executor(self.array_context.context)

@property
@memoize_method
Expand All @@ -336,6 +336,7 @@ def build_traversal(self):
return FMMTraversalBuilder(self.array_context)


@dataclass_array_container
@dataclass(frozen=True)
class _TargetInfo:
"""
Expand Down

0 comments on commit af7a6ea

Please sign in to comment.