File tree Expand file tree Collapse file tree
cuda_bindings/tests/cython Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import sys
1616from pathlib import Path
1717
18- import cuda .bindings
1918from Cython .Build import cythonize
2019from setuptools import setup
2120
21+ import cuda .bindings
22+
2223
2324def _bindings_source_root () -> Path :
2425 # cuda.bindings.__file__ -> .../<root>/cuda/bindings/__init__.py
2526 root = Path (cuda .bindings .__file__ ).resolve ().parents [2 ]
2627 if not (root / "cuda" / "bindings" ).is_dir ():
2728 raise RuntimeError (
28- f"cuda.bindings source tree not found at { root } ; "
29- "pixi-build editable install layout may have changed."
29+ f"cuda.bindings source tree not found at { root } ; pixi-build editable install layout may have changed."
3030 )
3131 return root
3232
Original file line number Diff line number Diff line change 1515import sys
1616from pathlib import Path
1717
18- import cuda .bindings
1918from Cython .Build import cythonize
2019from setuptools import setup
2120
21+ import cuda .bindings
22+
2223
2324def _bindings_source_root () -> Path :
2425 # cuda.bindings.__file__ -> .../<root>/cuda/bindings/__init__.py
2526 root = Path (cuda .bindings .__file__ ).resolve ().parents [2 ]
2627 if not (root / "cuda" / "bindings" ).is_dir ():
2728 raise RuntimeError (
28- f"cuda.bindings source tree not found at { root } ; "
29- "pixi-build editable install layout may have changed."
29+ f"cuda.bindings source tree not found at { root } ; pixi-build editable install layout may have changed."
3030 )
3131 return root
3232
You can’t perform that action at this time.
0 commit comments