/gpu_sample_code

Sample Code for GPU

Primary LanguageFortranBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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