WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

You can see this section and the code for this blog post:

https://rust-gpu.github.io/blog/optimizing-matmul/#running-and-debugging-shaders-on-the-cpu

As it runs the kernels on CPU for testing and GPU for "production".

You can also check out these projects, all of which run on both GPU and CPU. Sometimes just partly for debugging, sometimes the full thing does:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Telokis
Comment options

Answer selected by Telokis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants