Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyleniemeyer/laplace_gpu
Laplace solver running on GPU using CUDA, with CPU version for comparison
https://github.com/kyleniemeyer/laplace_gpu
Last synced: about 1 month ago
JSON representation
Laplace solver running on GPU using CUDA, with CPU version for comparison
- Host: GitHub
- URL: https://github.com/kyleniemeyer/laplace_gpu
- Owner: kyleniemeyer
- License: other
- Created: 2012-09-21T15:32:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-07T19:05:43.000Z (about 12 years ago)
- Last Synced: 2024-06-12T17:43:45.575Z (7 months ago)
- Language: C
- Size: 148 KB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
laplace_gpu
===========Laplace solver running on GPU using [CUDA], with CPU version for comparison. In addition, the CPU version contains support for [OpenMP] and [OpenACC].
[CUDA]: http://www.nvidia.com/object/cuda_home_new.html
[OpenMP]: http://openmp.org/wp/
[OpenACC]: http://www.openacc-standard.org/Usage
-----Change the problem size by modifying `NUM` in `laplace_cpu.c` and `laplace_gpu.cu`. To make all the executables (CPU, OpenMP, OpenACC, and GPU) type `make`.
To run each version, simply type
$ ./laplace_cpu
$ ./laplace_gpu
$ ./laplace_omp
$ ./laplace_accRequirements
------------The makefile is set up to use `gcc` to compile the CPU version, `nvcc` (part of [CUDA]) to make the GPU version, and 'pgcc' (part of the [Portland Group]'s Accelerator compilers) to make the OpenMP and OpenACC versions. `gcc` may also be used to make the OpenMP version by changing the appropriate line in the makefile.
[CUDA]: http://www.nvidia.com/object/cuda_home_new.html
[Portland Group]: http://www.pgroup.comMisc
-------The most up-to-date version of `laplace_gpu` can be found at the [GitHub repository](https://github.com/kyleniemeyer/laplace_gpu) on GitHub.
License
-------`laplace_gpu` is released under the modified BSD license, see LICENSE for details.
Author
------Created by [Kyle Niemeyer](http://kyleniemeyer.com). Email address: [[email protected]](mailto:[email protected])