Skip to content

Build the kernels with cunumpy's KernelPackage - #32

Merged
max-models merged 2 commits into
develfrom
kernel-package
Oct 27, 2026
Merged

max-models merged 2 commits into
develfrom
kernel-package

Conversation

@max-models

Copy link
Copy Markdown
Owner

Builds the kernels with cunumpy's KernelPackage (max-models/cunumpy#118): simgeometry.kernels.KERNEL_PACKAGE in kernels/__init__.py replaces kernels/_build.py, kernels/_metal.py and kernels/compile.py. Every kernel folder calls KERNEL_PACKAGE.from_folder(__name__), the Metal versions KERNEL_PACKAGE.metal_kernel(...). The build cache is still SIMGEOMETRY_KERNEL_CACHE.

absorb_polygons_2d keeps its own launch size (n_threads_from=_row_count). Tests: 531 passed; the one failure (a pyvista plotting test) fails the same on devel with the installed plasma-plots.

Needs cunumpy#118 on devel before CI can pass.

@max-models
max-models merged commit bf97439 into devel Oct 27, 2026
14 checks passed
@max-models
max-models deleted the kernel-package branch October 27, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant