inducer / pyopencl

OpenCL integration for Python, plus shiny features
http://mathema.tician.de/software/pyopencl
Other
1.06k stars 241 forks source link

Add support cl_amd_copy_buffer_p2p #697

Closed wozeparrot closed 1 year ago

wozeparrot commented 1 year ago

Sorry in advance if something is terribly wrong, my c++ is pretty rusty.

I wasn't quite sure where to put the import so I just put it next to the other AMD thing.

From: #696

inducer commented 1 year ago

Thanks! This LGTM. The wheel build failure for pypy is unrelated to this PR, I will have to investigate that separately. It'll land as soon as everything else passes.

wozeparrot commented 1 year ago

@inducer you mind tagging a new release so that there are prebuilt pypi wheels?

inducer commented 1 year ago

Sure thing. https://github.com/inducer/pyopencl/releases/tag/v2023.1.2

Wheels should be on pypi in a few hours.