-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[MLIR][Linalg] pack, unpack to take memref inputs #129036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 32 commits
4d523ad
4f2dbf4
226230c
0c184df
19201c6
b99b920
be6a119
eee8805
c5b3c39
714e4c4
a5d01df
2480616
0421e72
7b92a4e
6dc08ae
cf7be57
4e2f00d
ee7a42a
5b95ee8
8b5ac5a
c955d21
4bedf40
276069d
790e974
820e40b
43a64b9
a3bba60
486c62b
ca889b5
ce910b9
6a501bd
535e796
4cbbb80
17ad838
2aca3fd
2541aa2
1488cb9
d10cb1d
d16448a
825f11b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
hanhanW marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -451,7 +451,7 @@ getLinearizedDimensions(ArrayRef<ReassociationIndices> reassociationIndices); | |
| /// %4 = tensor.extract_slice %0 [%3#0, %3#1, %3#2, 0] [1, 1, 1, 10] [1, 1, 1, 1] : | ||
| /// tensor<3x7x11x10xf32> to tensor<1x1x1x10xf32> | ||
| /// | ||
| /// %5 = tensor.collapse_shape %4 [[0, 1, 2], [3]] : | ||
| /// %5 = tensor.collapse_shape %4 [[0, 1, 2], [3]] : | ||
|
||
| /// tensor<1x1x1x10xf32> into tensor<1x10xf32> | ||
| /// %6 = tensor.insert_slice %5 into %arg0 [%iv, 0] [1, 10] [1, 1] : | ||
| /// tensor<1x10xf32> into tensor<10x10xf32> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,7 +78,7 @@ struct OpenMPOpConversion : public ConvertOpToLLVMPattern<T> { | |
| omp::FlushOp, omp::MapBoundsOp, | ||
| omp::ThreadprivateOp>::value) { | ||
| if (isa<MemRefType>(originalOperand.getType())) { | ||
| // TODO: Support memref type in variable operands | ||
| // TODO: Support Memref PackOp. Temporarily return failure. | ||
|
||
| return rewriter.notifyMatchFailure(op, "memref is not supported yet"); | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.