Skip to content

[MKL][CUBLAS] add the omatcopy and omatadd functions in row-major layout#333

Merged
andrewtbarker merged 5 commits intouxlfoundation:developfrom
jinz2014:add_omatcopy
Nov 9, 2023
Merged

[MKL][CUBLAS] add the omatcopy and omatadd functions in row-major layout#333
andrewtbarker merged 5 commits intouxlfoundation:developfrom
jinz2014:add_omatcopy

Conversation

@jinz2014
Copy link
Contributor

@jinz2014 jinz2014 commented Jun 23, 2023

There is a use case for omatcopy in the row-major order. More details are shown in https://github.com/zjin-lcf/HeCBench/tree/master/geam-sycl

@mmeterel
Copy link
Contributor

@jinz2014

  • Could you please add the motivation for this PR? Why do you need row-major layout support for omatcopy only and not for the other APIs?
  • Could you also please add test results?
  • Did you apply clang-format?

@jinz2014
Copy link
Contributor Author

Attached is the test.log
test2.log
Thanks for your review.

@jinz2014
Copy link
Contributor Author

@andrewtbarker

Can you please review the PR ? Thanks.

Copy link
Contributor

@andrewtbarker andrewtbarker left a comment

Choose a reason for hiding this comment

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

I applied clang-format, and now this looks good to me. Thanks for the contribution!

@jinz2014
Copy link
Contributor Author

It is a comment. I read the formatted codes. There are many function arguments for a MKL function. After formatting, closely related function arguments may be on multiple lines. I didn't try the clang format, but understands that the clang format is required. Thank you for your initial pull request. It provides a guide for me.

@jinz2014 jinz2014 changed the title [MKL][CUBLAS] add the support of omatcopy in row-major layout [MKL][CUBLAS] add the omatcopy and omatadd functions in row-major layout Aug 22, 2023
@jinz2014
Copy link
Contributor Author

@mmeterel I slightly update the descriptions of the PR, and @andrewtbarker applied the Clang format. Thanks for your review.

@andrewtbarker andrewtbarker merged commit ee4f109 into uxlfoundation:develop Nov 9, 2023
normallytangent pushed a commit to normallytangent/oneMKL that referenced this pull request Aug 6, 2024
…out (uxlfoundation#333)

Co-authored-by: Jin Z <5zj@equinox.ftpn.ornl.gov>
Co-authored-by: Andrew T. Barker <andrew1.barker@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants