This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][CUDA] Keep one kernel list per device, not globally.
ClosedPublic

Authored by jdoerfert on Aug 16 2020, 9:04 AM.

Diff Detail

Event Timeline

jdoerfert created this revision.Aug 16 2020, 9:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 16 2020, 9:04 AM
jdoerfert requested review of this revision.Aug 16 2020, 9:04 AM
JonChesterfield accepted this revision.Aug 16 2020, 9:24 AM

Patch is good, thanks.

loadBinary can be called from multiple host threads, at least when there are multiple devices. I'm not sure whether it can be called for the same DeviceId from multiple threads at the same time or not.

This revision is now accepted and ready to land.Aug 16 2020, 9:24 AM
This revision was landed with ongoing or failed builds.Aug 16 2020, 12:40 PM
This revision was automatically updated to reflect the committed changes.