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

Rework and extend the cooperative groups API. #2081

Merged
merged 17 commits into from
Oct 27, 2023
Merged

Rework and extend the cooperative groups API. #2081

merged 17 commits into from
Oct 27, 2023

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Sep 15, 2023

This brings it much closer to the upstream API. It should be good to use more widely, especially because it looks like @cuda cooperative=true is only needed for grid synchronization.

Includes the implicit groups (thread blocks, grid groups, coalesced groups), shuffle, and async memcpy. What remains are the explicitly created groups (i.e., tiling and partitioning).

@maleadt maleadt added enhancement New feature or request cuda kernels Stuff about writing CUDA kernels. labels Sep 15, 2023
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e677de3) 72.01% compared to head (729c0e0) 72.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2081   +/-   ##
=======================================
  Coverage   72.01%   72.01%           
=======================================
  Files         158      158           
  Lines       14252    14251    -1     
=======================================
  Hits        10263    10263           
+ Misses       3989     3988    -1     
Files Coverage Δ
lib/cudadrv/module.jl 75.00% <100.00%> (+2.27%) ⬆️
src/CUDA.jl 100.00% <ø> (ø)
src/compiler/execution.jl 84.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maleadt maleadt changed the title Rework the cooperative groups API. Rework and extend the cooperative groups API. Sep 16, 2023
@maleadt maleadt marked this pull request as ready for review September 18, 2023 19:42
@maleadt maleadt merged commit 26e823f into master Oct 27, 2023
1 check passed
@maleadt maleadt deleted the tb/cg branch October 27, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda kernels Stuff about writing CUDA kernels. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant