Commit 00c11f3
Stage m1_gpu_ops package in build/ after pybind11 build
Add a POST_BUILD step that copies _m1_gpu_ops.so and __init__.py into
build/m1_gpu_ops/, so that sys.path.insert(0, "build") + import m1_gpu_ops
works for in-tree use (notebooks, CI smoke test) without needing pip install.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a6fbaf0 commit 00c11f3
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
254 | 262 | | |
255 | 263 | | |
256 | 264 | | |
| |||
0 commit comments