Skip to content
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

Fix bug with size operator call in tensor_foreach.h file #81

Conversation

muhammad-tanvir-1211
Copy link
Collaborator

This PR fixes a bug introduced in the tensor_foreach.h file. We cannot calculate the size of a Coord object by doing size(size), and instead we need to call product() method. This is now fixed in the code.

@aacostadiaz aacostadiaz merged commit 67e39cf into codeplaysoftware:sycl-develop Jun 7, 2024
3 of 4 checks passed
aacostadiaz pushed a commit to aacostadiaz/cutlass-fork that referenced this pull request Jun 13, 2024
Fix a bug introduced in the tensor_foreach.h file. We cannot calculate the size of a Coord object by doing size(size), and instead we need to call product() method.
aacostadiaz pushed a commit that referenced this pull request Jul 16, 2024
Fix a bug introduced in the tensor_foreach.h file. We cannot calculate the size of a Coord object by doing size(size), and instead we need to call product() method.
aacostadiaz pushed a commit to aacostadiaz/cutlass-fork that referenced this pull request Aug 6, 2024
Fix a bug introduced in the tensor_foreach.h file. We cannot calculate the size of a Coord object by doing size(size), and instead we need to call product() method.
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