This is an archive of the discontinued LLVM Phabricator instance.

[libc] Do not run tests on vendor implemented math
ClosedPublic

Authored by jhuber6 on Aug 17 2023, 1:42 PM.

Details

Summary

We currently remap vendor implementations of math functions to provide a
temporarily functional libm.a for the GPU. However, we should not run
tests on any files that depend on these vendor implementations as they
are not under our control and are not always present.

The goal in the future is to remove the need for this by replacing all
the vendor functionality, but for now this is a workaround.

Diff Detail

Event Timeline

jhuber6 created this revision.Aug 17 2023, 1:42 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 17 2023, 1:42 PM
jhuber6 requested review of this revision.Aug 17 2023, 1:42 PM
JonChesterfield accepted this revision.Aug 17 2023, 1:46 PM

We might want this under user control. I can see use cases for running our math tests against vendor libs (checking the vendor lib, that we're compiling the libs correctly, checking our tests don't reflect errors in our implementation).

However I'm delighted to be able to run the tests without rocm available once more, thank you for unblocking that use case.

This revision is now accepted and ready to land.Aug 17 2023, 1:46 PM
This revision was automatically updated to reflect the committed changes.