This is an archive of the discontinued LLVM Phabricator instance.

[libc] Enable the 'div' routines on the GPU
ClosedPublic

Authored by jhuber6 on Jun 29 2023, 1:06 PM.

Details

Summary

This patch simply enables the div, ldiv, and, lldiv functions on
the GPU. This should be straightforward enough.

Diff Detail

Event Timeline

jhuber6 created this revision.Jun 29 2023, 1:06 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 29 2023, 1:06 PM
jhuber6 requested review of this revision.Jun 29 2023, 1:06 PM

Is this sufficient to run the associated tests or do we need some cmake as well?

do we have tests?

Is this sufficient to run the associated tests or do we need some cmake as well?

The tests already exist, they are enabled conditionally by whether or not the entrypoint is present int entrypoints.txt, like this does. So yes, it adds three new tests.

jdoerfert accepted this revision.Jun 29 2023, 1:34 PM
This revision is now accepted and ready to land.Jun 29 2023, 1:34 PM
This revision was landed with ongoing or failed builds.Jun 29 2023, 1:42 PM
This revision was automatically updated to reflect the committed changes.