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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CBS] Dynamically sized stack arrays. #994

Merged

Conversation

fodinabor
Copy link
Collaborator

Backporting fixes done for upstreaming CBS to POCL.
This is mostly using an llvm::Value as alloca size for the local stack arrays -> in theory we don't have to limit the CPU work-group size to 1024 anymore.
This also allows for larger work-item private arrays, if the actual work-group size is < 1024.

Additionally, some small fixes like the insertion point into the function entry block is now always the terminator, not the first non-phi-or-debug.

Also upstream the nasty uninitialized memory fix for sycl_dgemm 馃槆

Backporting fixes done for upstreaming CBS to POCL.
This is mostly using an llvm::Value as alloca size for the local stack arrays -> in theory we don't have to limit the CPU work-group size to 1024 anymore.
This also allows for larger work-item private arrays, if the actual work-group size is < 1024.
Copy link
Collaborator

@illuhad illuhad left a comment

Choose a reason for hiding this comment

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

Thanks!

@illuhad illuhad merged commit 312bd9b into AdaptiveCpp:develop Apr 11, 2023
20 of 23 checks passed
@fodinabor fodinabor deleted the feature/cbs-dynamic-stack-array-size branch April 12, 2023 06:29
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.

None yet

2 participants