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

PIConGPU unit system #5135

Open
psychocoderHPC opened this issue Sep 24, 2024 · 0 comments
Open

PIConGPU unit system #5135

psychocoderHPC opened this issue Sep 24, 2024 · 0 comments
Labels
component: core in PIConGPU (core application) refactoring code change to improve performance or to unify a concept but does not change public API

Comments

@psychocoderHPC
Copy link
Member

PIConGPU currently deals with three unit systems. SI, PIConGPU normalized SI units and atomic units.
It would be beneficial to have a unit system to convert smoothly between all of these.

see: #5133 (comment)

There are some requirements:
Currently, we use a fully compile-time conversion system. Since we have the goal to go away from compile time unit system the new system must support runtime units based on runtime input.
Additionally, the normalization should not simply shift to the device code and execute multiple multiplications, and divisions there.
Conversion factors must somehow pre-computed and accessed later. A single multiplication is not an issue but multiple and decision are a showstopper.

@psychocoderHPC psychocoderHPC added component: core in PIConGPU (core application) refactoring code change to improve performance or to unify a concept but does not change public API labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core in PIConGPU (core application) refactoring code change to improve performance or to unify a concept but does not change public API
Projects
None yet
Development

No branches or pull requests

1 participant