This is an archive of the discontinued LLVM Phabricator instance.

[mlir][gpu] Add debug print with environment value
ClosedPublic

Authored by guraypp on Jul 25 2023, 5:33 AM.

Details

Summary

This work introduces MLIR_CUDA_DEBUG environment value and debug_print function to be able to debug runtimes.

Diff Detail

Event Timeline

guraypp created this revision.Jul 25 2023, 5:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2023, 5:33 AM
guraypp requested review of this revision.Jul 25 2023, 5:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2023, 5:33 AM
aartbik accepted this revision.Aug 1 2023, 1:01 PM

Neat! I have a few similar debug prints in a local workspace for cusparse, but this will allow me to upstream those in a cleaner fasion

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