This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][Clang] Add call to global data sharing stack initialization on the workers side
ClosedPublic

Authored by gtbercea on Mar 21 2018, 11:52 AM.

Details

Summary

The workers also need to initialize the global stack. The call to the initialization function needs to happen after the kernel_init() function is called by the master. This ensures that the per-team data structures of the runtime have been initialized.

Diff Detail

Repository
rC Clang

Event Timeline

gtbercea created this revision.Mar 21 2018, 11:52 AM
This revision is now accepted and ready to land.Mar 22 2018, 6:15 AM
This revision was automatically updated to reflect the committed changes.