Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Changes to support async execution on GPU with OpenACC #75

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iomaganaris
Copy link
Contributor

Follows changes from BlueBrain/CoreNeuron#725

@@ -1950,7 +1950,7 @@ void bablk(ba, type, q1, q2)
" _thread = _ml->_thread;\n"
" double * _nt_data = _nt->_data;\n"
" double * _vec_v = _nt->_actual_v;\n"
" int stream_id = _nt->stream_id;\n"
" int stream_id = _nt->streams[_nt->stream_id];\n"
" #if LAYOUT == 1 /*AoS*/\n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iomaganaris : remind me better - MOD2C remains only OpenACC (and not OpenMP). So does this change required in MOD2C i.e. using _nt->stream_id as async launch stream for OpenACC works fine right? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does, yes. I just changed this to be similar to the form needed by OpenMP for homogenity

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants