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

New cuda functions defines #19

Merged
merged 2 commits into from
Jul 11, 2023
Merged

New cuda functions defines #19

merged 2 commits into from
Jul 11, 2023

Conversation

PabloPalaciosAlonso
Copy link
Contributor

I have added some extra definitions to facilitate matrix operations. In the function definitions for complex numbers, I have replaced the 'C' and 'Z', which indicate complex numbers of single and double precision, respectively, with a 'c'.

@RaulPPelaez
Copy link
Owner

Test pass, I will merge.
As a sidenote, I always thought these defines are kind of a hack. Ideally we should do something similar to what its done with cufft here https:/RaulPPelaez/UAMMD/blob/v2.x/src/utils/cufftPrecisionAgnostic.h
Thanks Pablo!

@RaulPPelaez RaulPPelaez merged commit d385ab3 into RaulPPelaez:v2.x Jul 11, 2023
2 checks passed
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.

2 participants