Skip to content

Made it possible to launch block adjust functions on GPU with more than 65535 cells - #1300

Open
MikaelHuppunen wants to merge 3 commits into
fmihpc:devfrom
MikaelHuppunen:tooManyCells
Open

Made it possible to launch block adjust functions on GPU with more than 65535 cells#1300
MikaelHuppunen wants to merge 3 commits into
fmihpc:devfrom
MikaelHuppunen:tooManyCells

Conversation

@MikaelHuppunen

Copy link
Copy Markdown
Contributor

No description provided.

@MikaelHuppunen
MikaelHuppunen marked this pull request as draft June 11, 2026 14:53
@MikaelHuppunen
MikaelHuppunen marked this pull request as ready for review June 12, 2026 08:03

@markusbattarbee markusbattarbee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Two missed spots

Just for completeness, GPU ACC batching / chunking could also be checked that it won't ever try to go over this 65k limit.

Comment thread .gitignore Outdated
Comment thread spatial_cells/block_adjust_gpu_kernels.hpp Outdated
Comment thread spatial_cells/block_adjust_gpu_kernels.hpp Outdated
@MikaelHuppunen

Copy link
Copy Markdown
Contributor Author

Acc chunks shouldn't get above the limit unless allocation count does. I guess it makes sense to check that allocation count isn't over the limit.

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.

2 participants