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

groupshared is not supported in slangtorch. #158

Open
saedrna opened this issue May 2, 2024 · 1 comment
Open

groupshared is not supported in slangtorch. #158

saedrna opened this issue May 2, 2024 · 1 comment

Comments

@saedrna
Copy link

saedrna commented May 2, 2024

Hi there,
groupshared float4x4 mtx; in mesh.slang does not compile (as below). I am using the The latest slangtorch version in pip. I am not familiar with slang lang, but it seems that groupshared is similar to block-wise shared memory in CUDA. I think this should be absolutely supported by CUDA.

renderutils\mesh.slang(51): error 31201: modifier 'groupshared' is not allowed here.       
    groupshared float4x4 mtx;

I am not sure if this is the version difference, because recently slangpy has been renamed to slangtorch.

Han

@jmunkberg
Copy link
Collaborator

Thanks for reporting @saedrna .

I have upgraded the slang branch to use slangtorch instead of slangpy and fixed the groupshared issue you reported above. Fix in CL e6c1589

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

No branches or pull requests

2 participants