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

gosl implementation and gpu compute for new WebGPU #1199

Merged
merged 24 commits into from
Sep 6, 2024
Merged

gosl implementation and gpu compute for new WebGPU #1199

merged 24 commits into from
Sep 6, 2024

Conversation

rcoreilly
Copy link
Member

This implements the compute functionality in gpu package under WebGPU and updates gosl to generate wgsl code to run under webgpu.

@rcoreilly rcoreilly marked this pull request as draft September 2, 2024 18:09
@rcoreilly rcoreilly marked this pull request as ready for review September 5, 2024 17:43
Copy link
Member

@kkoreilly kkoreilly left a comment

Choose a reason for hiding this comment

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

Initial comments; only reviewed through gosl/process.go so far.

base/fsx/fsx.go Outdated Show resolved Hide resolved
gpu/README.md Outdated Show resolved Hide resolved
gpu/cpipeline.go Show resolved Hide resolved
gpu/device.go Show resolved Hide resolved
gpu/gosl/README.md Outdated Show resolved Hide resolved
gpu/gosl/examples/basic/main.go Show resolved Hide resolved
gpu/gosl/examples/rand/shaders/rand.wgsl Show resolved Hide resolved
gpu/gosl/extract.go Show resolved Hide resolved
gpu/gosl/examples/rand/shaders/slrand.wgsl Show resolved Hide resolved
gpu/gosl/slrand/slrand.wgsl Show resolved Hide resolved
gpu/gosl/slprint/comment.go Show resolved Hide resolved
gpu/gosl/slrand/slrand.wgsl Show resolved Hide resolved
gpu/gsystem.go Outdated Show resolved Hide resolved
gpu/gsystem.go Show resolved Hide resolved
gpu/include.go Outdated Show resolved Hide resolved
math32/fastexp.go Show resolved Hide resolved
@kkoreilly kkoreilly merged commit 87067d0 into main Sep 6, 2024
1 check passed
@kkoreilly kkoreilly deleted the gosl branch September 6, 2024 05:25
@kkoreilly
Copy link
Member

kkoreilly commented Sep 6, 2024

Note: this is an extension of #507 / #1112, which will allow for #1134.

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