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.
I have upgraded the slang branch to use slangtorch instead of slangpy and fixed the groupshared issue you reported above. Fix in CL e6c1589f53f2b83529662ba96f85f8c8f0eca433
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.I am not sure if this is the version difference, because recently slangpy has been renamed to slangtorch.
Han