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

Chemkin compatible interface #10

Open
stgeke opened this issue Nov 2, 2016 · 4 comments
Open

Chemkin compatible interface #10

stgeke opened this issue Nov 2, 2016 · 4 comments

Comments

@stgeke
Copy link

stgeke commented Nov 2, 2016

Would you consider to provide a Chemkin compatible routine to compute the species production rates.

@skyreflectedinmirrors
Copy link
Collaborator

Hi, we're currently in the process of a rewrite to exploit SIMD/SIMT parallelism on both the CPU/GPU. We would welcome a pull request for a Chemkin wrapper for species production (and potentially even the Jacobian) but it is not a priority right now

@stgeke
Copy link
Author

stgeke commented Nov 7, 2016

I will create a PR with the wrapper.
Talking about your optimization effort. Any plans to support vector (for multiple thermodynamic states) evaluations? This could help to improve the vectorization cache line utilization. That's what I do in my hand-tuned kernels (which is about 2x faster than pyJac).

@skyreflectedinmirrors
Copy link
Collaborator

Yes, we are specifically targeting:

A) a 'deep' implementation in which the evaluation of the species rates / jacobian will be vectorized for a single state (e.g., evaluation of multiple species rates in vector form) and

B) a 'wide' implementation, that vectorizes species rates / jacobian evaluation across multiple states (as you mention)

This vectorized version will also be sparse (to improve factorization) and will target both the CPU and GPU

@kyleniemeyer
Copy link
Member

@stgeke we are still working on this; if you are interested in updates on the project, please join the SLACKHA (larger project that includes pyJac) users' group: https://groups.io/g/slackha-users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants