This is an archive of the discontinued LLVM Phabricator instance.

[LIBOMPTARGET][WIP]Fix PR45139: Bug in mixing Python and OpenMP target offload.
AbandonedPublic

Authored by ABataev on Mar 10 2020, 8:14 AM.

Details

Reviewers
jdoerfert
Summary

Dynamically initialize objects in cuda/generic plugins to avoid issue
with not initialized data upob libraries loading.

Diff Detail

Event Timeline

ABataev created this revision.Mar 10 2020, 8:14 AM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Mar 10 2020, 9:24 AM

This feels familiar.

It's a shame to be heap allocating all this stuff in order to keep initialisation working. Can we lazily init instead, in singleton fashion?

LGTM.

It does not work, actually. Still investigating

ABataev abandoned this revision.Mar 10 2020, 10:01 AM