This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Fix std::min on device side to return the min, not the max.
ClosedPublic

Authored by jlebar on Nov 8 2017, 1:55 PM.

Event Timeline

jlebar created this revision.Nov 8 2017, 1:55 PM
tra accepted this revision.Nov 8 2017, 2:08 PM

Ouch. LGTM.

This revision is now accepted and ready to land.Nov 8 2017, 2:08 PM
This revision was automatically updated to reflect the committed changes.