Skip to content

Commit

Permalink
[mlir][sparse] fix mlir-window build breakage
Browse files Browse the repository at this point in the history
Reviewed By: bixia

Differential Revision: https://reviews.llvm.org/D121022
  • Loading branch information
aartbik committed Mar 4, 2022
1 parent ca8432f commit 988d4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
Expand Up @@ -758,7 +758,7 @@ toMLIRSparseTensor(uint64_t rank, uint64_t nse, uint64_t *shape, V *values,
std::sort(order.begin(), order.end());
for (uint64_t i = 0; i < rank; ++i) {
if (i != order[i]) {
fprintf(stderr, "Permutation is not a permutation of 0..%lu\n", rank);
fprintf(stderr, "Not a permutation of 0..%" PRIu64 "\n", rank);
exit(1);
}
}
Expand Down

0 comments on commit 988d4b0

Please sign in to comment.