This is an archive of the discontinued LLVM Phabricator instance.

HIP: Link correct denormal mode library
ClosedPublic

Authored by arsenm on Mar 27 2020, 1:03 PM.

Details

Reviewers
yaxunl
Summary

This wasn't respecting the flush mode based on the default, and also
wasn't correctly handling the explicit
-fno-cuda-flush-denormals-to-zero overriding the mode.

Diff Detail

Event Timeline

arsenm created this revision.Mar 27 2020, 1:03 PM
yaxunl accepted this revision.Mar 31 2020, 3:42 PM

LGTM. Thanks!

clang/test/Driver/hip-device-libs.hip
5

dup if

This revision is now accepted and ready to land.Mar 31 2020, 3:42 PM