-
Notifications
You must be signed in to change notification settings - Fork 224
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
Reference kernel for 3D convolution for non-packed tensors #2334
Merged
Merged
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
94f5fd3
Squash commits together
amberhassaan 5ab82f3
fix formatting. disable strides for fp8 kernel for now
amberhassaan be93522
fix the lengths of weight tensor
amberhassaan d85785b
use 64-bit integers for stride value
amberhassaan f7b606b
Merge remote-tracking branch 'origin/develop' into amber/non-packed-c…
amberhassaan 4db6cf8
Merge remote-tracking branch 'origin/develop' into amber/non-packed-c…
amberhassaan e06c523
addressed comments. Moved common code into an include file
amberhassaan 23d0066
Merge remote-tracking branch 'origin/develop' into amber/non-packed-c…
amberhassaan 0f16c62
address review comments
amberhassaan c66da71
Merge remote-tracking branch 'origin/develop' into amber/non-packed-c…
amberhassaan 700b623
Merge remote-tracking branch 'origin/develop' into amber/non-packed-c…
amberhassaan 39eee97
use C++17 to compile HIP Kernels
amberhassaan f60f182
Merge remote-tracking branch 'origin/develop' into amber/non-packed-c…
amberhassaan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[R] I am not sure that we want to remove this. In my previous PR I decided to keep this as an illustration of the original idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original had a bug on line 54. The new code is the same as original except that line 54 is fixed. I don't think there's any benefit in keeping buggy code (rather may cause harm if someone assumes that it works).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amberhassaan I mean keeping the following code:
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/6d539ee81321121570606e4ef62e6d072775bbd8/src/include/miopen/hipoc_kernel.hpp#L65-L71
which was never used but explains the original idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any value in keeping this code. It's just a simple pair class. We have always needed proper alignment for kernel arguments, so keeping around code that doesn't address alignment issues is just misguiding and confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets clean up the code, if we ever need it I am sure its not too difficult to write it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amberhassaan This comment is just a recommendation. You are free to either follow recommendations or deny them, no explanations needed.
Thanks for positive feedback.