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

Solve WebGPU OP exceeding max compute workgroups #1

Open
typio opened this issue Jan 2, 2023 · 0 comments
Open

Solve WebGPU OP exceeding max compute workgroups #1

typio opened this issue Jan 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@typio
Copy link
Owner

typio commented Jan 2, 2023

Potential Solutions

1. Settle with current limits
(only guarantee <=2047x2047, result of workgroup_size(64))

1. Utilize x,y maybe z at 64
(cons: verbose wgsl with conversions from 2d/3d to 1d indicies)

2. Loops in wgsl to extend
(cons: technically lessens parallelization, how much would be enough??)

3. Chunk tensor op?
(cons: buffer memory will overflow anyway and this would add a much more complexity)

@typio typio added the enhancement New feature or request label Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant