Repository navigation
Py tests refactor lifecycle - #81
Merged
Merged
Conversation
Make concurrent block/voxel registration thread-safe and add gUt_sparseBitMask coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
CudaDriver retains the device primary context instead of creating a private one, so destroying a Backend no longer leaves Warp with a dead cuda:N.M device (error 709 / SIGSEGV on the next wp.synchronize). run_kernel skips zero-sized grids (e.g. empty mGrid levels) instead of aborting in cuLaunchKernel. Container deletion releases its resources. Co-authored-by: Cursor <cursoragent@cursor.com>
neon.init() is idempotent (kernel cache cleared once unless asked) and neon.is_initialized() is added. Backend, Skeleton, Container, bGrid and bField get idempotent cleanup(), context managers and guarded __del__; use after cleanup raises RuntimeError. Remove the broken py/neon/test package. Co-authored-by: Cursor <cursoragent@cursor.com>
…tions Split tests into smoke/, dense/, block/, mres/ and lifecycle/ packages backed by a neon_testing helper package (NeonTestCase with deterministic cleanup, shared masks, grids and NeonTest* operators). Former demos now assert results; Jacobi is checked against NumPy; the sparse test runs; artifacts are opt-in. Add backend/container/init lifecycle tests. run_tests.sh runs discover per area, with --isolated for per-module runs. Move benchmark_axpy to py/benchmarks. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.