Skip to content

Commit 118ae83

Browse files
xyweiinducer
authored andcommitted
fix: correct NVIDIA queue guard in run_opencl_fft
1 parent a969c89 commit 118ae83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sumpy/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ def run_opencl_fft(
10321032
# Not passing wait_for will wait for all events queued before
10331033
# and therefore correctness is preserved if it's the same queue
10341034
for evt in wait_for:
1035-
if not evt.command_queue != queue:
1035+
if evt.command_queue != queue:
10361036
raise RuntimeError(
10371037
"Different queues not supported with NVIDIA CUDA")
10381038
start_evt = cl.enqueue_marker(queue)

0 commit comments

Comments
 (0)