cuda-python
cuda-python copied to clipboard
Remove trampoline modules from the old layout
Blocked by #162. (For some reason GitHub created the issues in the wrong order...)
The .pth files (_cuda_bindings_redirector.{pth,py}) should also be removed.
We probably should pull this in (ex: 12.9.1). Wheel repair (#673) reveals that there are two copies of msvcp140.dll getting copied into the wheel
...
inflating: cuda/msvcp140-a6d8da6c43532fb4dbf620e6318b0e3c.dll
...
inflating: cuda_bindings.libs/msvcp140-a6d8da6c43532fb4dbf620e6318b0e3c.dll
...
and the CI log has this warning:
C:\Users\runneradmin\AppData\Local\Temp\cibw-run-1a7anrl5\cp310-win_amd64\build\venv\lib\site-packages\delvewheel\_wheel_repair.py:977: UserWarning: Namespace package cuda contains root-level extension modules cuda.cp310-win_amd64.pyd;cudart.cp310-win_amd64.pyd;ccuda.cp310-win_amd64.pyd;ccudart.cp310-win_amd64.pyd;nvrtc.cp310-win_amd64.pyd;cnvrtc.cp310-win_amd64.pyd and needs an extra copy of the vendored DLLs. To avoid duplicate DLLs, move extension modules into regular (non-namespace) packages.