This is an archive of the discontinued LLVM Phabricator instance.

disable zero-copy for the time being as it causes wrong result
AbandonedPublic

Authored by K-Wu on Jul 14 2023, 8:45 PM.

Diff Detail

Event Timeline

K-Wu created this revision.Jul 14 2023, 8:45 PM
Herald added a project: Restricted Project. · View Herald Transcript
K-Wu requested review of this revision.Jul 14 2023, 8:45 PM
K-Wu abandoned this revision.Jul 14 2023, 8:46 PM

The title of this revision is a bit misleading. The revision introduces three alternatives for copying data from host, where the dma method currently used is the default
It introduces two other ways, however. As written, the current title implies we disable something that is already there.

Also, needs tags.

I propose

[mlir][sparse][gpu] introduce flag that controls host to device copy strategies (regular dma default)

aartbik added inline comments.Jul 14 2023, 11:00 PM
mlir/include/mlir/Dialect/SparseTensor/Transforms/Passes.td
126

unnecessary change

K-Wu abandoned this revision.Jul 14 2023, 11:04 PM

WIP in D155352. This diff is submitted in error. I will incorporate your advice .SOrry for the confusion.