This is an archive of the discontinued LLVM Phabricator instance.

Separate SerializeToCubin from GPUTransforms.
ClosedPublic

Authored by tra on Mar 17 2023, 1:52 PM.

Details

Summary

SerializeToCubin depends on CUDA at *runtime* which is undesirable for MLIR's
general use case, as compilation should be doable on any host, regardless of
whether it has a GPU.

SerializeToCubin is needed to run some GPU tests, so when we build mlir-opt,
SerializeToCubin pass is linked in directly into mlir-opt.

Diff Detail

Event Timeline

tra created this revision.Mar 17 2023, 1:52 PM
tra published this revision for review.Mar 17 2023, 1:55 PM
tra added reviewers: csigg, GMNGeoffrey.
csigg accepted this revision.Mar 17 2023, 2:00 PM

Thanks Artem!

This revision is now accepted and ready to land.Mar 17 2023, 2:00 PM
This revision was landed with ongoing or failed builds.Mar 17 2023, 2:14 PM
This revision was automatically updated to reflect the committed changes.