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

Removed CUDA support and decreased error. #1

Merged
merged 2 commits into from
Aug 8, 2021

Conversation

nhz2
Copy link
Owner

@nhz2 nhz2 commented Aug 8, 2021

I fixed the 10 nT error by adding in the last m iteration. This brings the error down to less than 0.5 nT compared to the official model. This did slightly decrease performance by about 5%

I also removed CUDA support, and tested the code on a Raspberry Pi Pico and Teensy 4.0 in addition to the other boards.

The main change is going from

for ( m = 0; m < NMAX+1; m++)

to

for ( m = 0; m <= NMAX+1; m++)

@nhz2 nhz2 merged commit 5db460e into master Aug 8, 2021
@nhz2 nhz2 deleted the Removing-CUDA-support-and-error-decrease branch August 8, 2021 16:02
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.

1 participant