Skip to content

neuronsimulator/gpuhackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openacc2openmp

CoreNEURON openacc to openmp offloading explorations

A repo to collect all coreneuron openacc code and how it could be translated into openmp offloading code.

Check overview.md for the list of collected pragmas.

Code examples

There is a basic Makefile for compiling code snippets in the src/ directory.

parallel kernels

The parallel_kernels example probes how we can launch two independent kernels that should be able to execute simultaneously on a single GPU. With OpenACC this is done by launching them in independent asynchronous streams. With OpenMP this is attempted using task dependencies, but it doesn't seem to work.

Note that in the real [Core]NEURON use-case, the possibly-overlapping kernels would be launched from different CPU threads. The example avoids using multiple threads so it's easier to see what's going on.

About

CoreNEURON openacc to openmp offloading explorations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published