This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] CUDA plugin: More descriptive error messages
ClosedPublic

Authored by grokos on Mar 21 2017, 1:34 PM.

Details

Diff Detail

Event Timeline

grokos created this revision.Mar 21 2017, 1:34 PM
Hahnfeld added inline comments.Mar 22 2017, 12:52 AM
libomptarget/plugins/cuda/src/rtl.cpp
652

You might want to use cudaGetErrorString(sync_error) here to fulfill %s?

grokos updated this revision to Diff 92655.Mar 22 2017, 10:19 AM
grokos marked an inline comment as done.

Updated diff.

libomptarget/plugins/cuda/src/rtl.cpp
652

Correct, done in new diff.

This revision is now accepted and ready to land.Mar 22 2017, 10:41 AM
This revision was automatically updated to reflect the committed changes.