llehtahw opened a new pull request #8102:
URL: https://github.com/apache/tvm/pull/8102


   From [spir-v 
decoration](https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#Decoration)
   > Block
   > Apply only to a structure type to establish it is a non-SSBO-like 
shader-interface block.
   
   And [interface 
block(GLSL)](https://www.khronos.org/opengl/wiki/Interface_Block_(GLSL))
   > An Interface Block is a group of GLSL input, output, uniform, or storage 
buffer variables. These blocks have special syntax and semantics that can be 
applied to them.
   
   I guess that `StructArrayType`s of shared memory (or shared variables in 
GLSL) and local memory are not required to be decorated with `Block`.
   After applying this patch, this 
[issue](https://discuss.tvm.apache.org/t/vulkan-windows-test-gemm-py-failed/10033)
 seems solved to me.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to