Skip to content

[Perf] Cleanup launch kernel logic#251

Merged
duburcqa merged 4 commits into
mainfrom
duburcqa/cleanup
Oct 28, 2025
Merged

[Perf] Cleanup launch kernel logic#251
duburcqa merged 4 commits into
mainfrom
duburcqa/cleanup

Conversation

@duburcqa

@duburcqa duburcqa commented Oct 28, 2025

Copy link
Copy Markdown
Contributor

This PR does not aim at improving performance. Just removing unnecessary code complexity and boilerplate. Still the simulation is marginally faster for ndarray (3.31M to 3.35M FPS).

Comment thread python/gstaichi/lang/kernel_impl.py
Comment thread python/gstaichi/lang/kernel_impl.py
Comment thread python/gstaichi/lang/kernel_impl.py
Comment thread python/gstaichi/lang/kernel_impl.py Outdated
Comment thread python/gstaichi/lang/kernel_impl.py
Comment thread python/gstaichi/lang/kernel_impl.py Outdated

@hughperkins hughperkins left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 🙌

@duburcqa duburcqa merged commit c94d2bd into main Oct 28, 2025
47 checks passed
@duburcqa duburcqa deleted the duburcqa/cleanup branch October 28, 2025 16:14
@hughperkins hughperkins changed the title Cleanup launch kernel logics [Perf] Cleanup launch kernel logic Nov 7, 2025
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.

3 participants