Skip to content

MeteoSwiss-APN/gpu_sample_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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