From 935046e3251e0134a5a35a69aec83e6a2c5851c8 Mon Sep 17 00:00:00 2001 From: Isuru Fernando <isuruf@gmail.com> Date: Thu, 28 Apr 2022 13:25:12 -0500 Subject: [PATCH] Add a comment about why there's a specific GPU version --- sumpy/p2p.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sumpy/p2p.py b/sumpy/p2p.py index 040f579e..38191846 100644 --- a/sumpy/p2p.py +++ b/sumpy/p2p.py @@ -492,6 +492,8 @@ class P2PFromCSR(P2PBase): "{[itgt]: itgt_start <= itgt < itgt_end}", ] + # There are two algorithms here because pocl-pthread 1.9 miscompiles + # the "gpu" kernel with prefetching. if gpu: instructions = (self.get_kernel_scaling_assignments() + [""" -- GitLab