Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move shared CCL variables into single struct #665

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stephenswat
Copy link
Member

The current CCL kernels have so many parameters that it's a real pain in the rear to maintain them and to make changes to them. This commit reduces the number of parameters a little bit by taking all statically-known shared memory data and unifying it into a single struct which can be passed around more easily.

@stephenswat stephenswat added refactor Change the structure of the code shared Changes related to shared code labels Aug 2, 2024
The current CCL kernels have so many parameters that it's a real pain in
the rear to maintain them and to make changes to them. This commit
reduces the number of parameters a little bit by taking all
statically-known shared memory data and unifying it into a single struct
which can be passed around more easily.
Copy link
Contributor

@beomki-yeo beomki-yeo left a comment

Choose a reason for hiding this comment

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

looks good to me

Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

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

You should add/update Doxygen documentation for the code. But other than that, yeah, no objections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Change the structure of the code shared Changes related to shared code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants