-
Notifications
You must be signed in to change notification settings - Fork 159
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
Python example type error (pyshader). #111
Comments
Have you installed Vulkan SDK? |
Yes, I have the Vulkan SDK installed. I have an AMD GPU, does pyshader only work with Nvidia GPUs? |
No, mine is also AMD(Radeon HD 7770) but the code works fine. |
What version are you using? Mine is |
I've downgraded to version 0.4.1 and got the same error, I suspect it's a change due to this commit, I suggest you update kp to the latest version (0.5.1). |
Good shout @aliPMPAINT, yes it does seem like it most probably is due to that change, @CaiusTSM can you confirm which version of the python are you using? Can you try it with the latest 0.5.1? |
Yes, I am using version 0.4.1 (python 3.9.1). I have built and installed from source (via |
Oh I see, good shout @CaiusTSM - initially I created the |
The first python example on https://kompute.cc/overview/python-package.html causes the following type error:
It wants a
List[str]
, but is given bytes from theto_spriv
function. I tried casting withlist(str(compute_shader_multiply.to_spirv()))
, but that results in a segfault.The text was updated successfully, but these errors were encountered: