Skip to content

[mlir][sparse] minor edits to support lib files #68137

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

Merged
merged 4 commits into from
Oct 3, 2023
Merged

Conversation

aartbik
Copy link
Contributor

@aartbik aartbik commented Oct 3, 2023

No description provided.

/// Asserts:
/// * `dimRank` is nonzero.
/// * the elements of `dimSizes` are nonzero.
/// sizes and an optional initial storage capacity.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add "the size of the range pointed by dimSizes is determined by dimRank"?

@@ -240,8 +238,7 @@ MLIR_CRUNNERUTILS_EXPORT index_type getSparseTensorReaderNSE(void *p);
MLIR_CRUNNERUTILS_EXPORT index_type getSparseTensorReaderDimSize(void *p,
index_type d);

/// Releases the SparseTensorReader. This also closes the file associated with
/// the reader.
/// Releases the SparseTensorReaderand closes the associated file.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing a space between Readerand

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

✅ With the latest revision this PR passed the C/C++ code formatter.

@aartbik aartbik merged commit 980e024 into llvm:main Oct 3, 2023
@aartbik aartbik deleted the bik branch October 3, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants