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

GPU-Support for OSCAR #1

Open
nilsmelchert opened this issue May 25, 2020 · 1 comment
Open

GPU-Support for OSCAR #1

nilsmelchert opened this issue May 25, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nilsmelchert
Copy link
Collaborator

nilsmelchert commented May 25, 2020

Hello,
I just started parallelizing OSCAR on the GPU. First tests with the simple cavity-scan, already showed pretty impressive results. The implementation can be seen at 6c94c74. It simply consists of a big multidimensional matrix multiplication, that takes place on the GPU. The current progress will take place on the gpu_support branch. Contributions are welcome and can be communicated here with me (@nilsmelchert) and @Jerome-LMA.

For the tests shown below, I ran the example script Example_cavity_FSR_scan.m with different resolutions:

  • 64x64

  • 128x128

  • 256x256

  • 512x512

The following hardware was used:

  • GPU: NVIDIA GTX 1080

  • CPU: i5-8600K (6-Cores)

64
128
256
512

@nilsmelchert nilsmelchert added enhancement New feature or request help wanted Extra attention is needed labels May 25, 2020
@nilsmelchert
Copy link
Collaborator Author

One thing I should mention in this Issue, is that currently OSCAR works with 8 bit doubles. On graphics cards the floating precision is 4 bit. This means that we experience small losses of precision through discretization.
But in my eyes this is not critical. But I just wanted to mention it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant