mirror of
https://github.com/MeteoSwiss-APN/gpu_sample_code.git
synced 2026-08-25 21:54:24 +00:00
Sample Code for GPU | Read-only mirror of https://github.com/MeteoSwiss-APN/gpu_sample_code — MeteoSchweiz. Issues & pull requests at the source.
- Fortran 75.5%
- Shell 13.5%
- CMake 7%
- Cuda 3.7%
- C++ 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| arr_derived_openacc | ||
| detect_cuda | ||
| mpi_openacc | ||
| openacc_cuda_sample | ||
| test_openacc | ||
| LICENSE | ||
| README.md | ||
GPU Sample Code
This code is used to test the setup of a CUDA and OpenACC installation.
Detect CUDA
Allows to determine whether CUDA has been setup correctly. The program also allows one to obtain the CUDA device compatibility.
OpenACC/CUDA Sample
A small test code that links a program with a OpenACC Fortran code with a CUDA C code.
MPI OpenACC
A test code mixing MPI and OpenACC.
Running the code
We have an ASCII cast that showcases usage of this code: https://asciinema.org/a/4dl86bm4eijnzhmvop2pxlikx