yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
1b65bd60
16.6.0
1#version 450 core 2#extension GL_KHR_memory_scope_semantics : enable 3#extension GL_NV_cooperative_vector : enable 4#extension GL_EXT_shader_explicit_arithmetic_types : enable 5#extension GL_EXT_buffer_reference : enable 6 7layout ( local_size_x = 64 , local_size_y = 1 , local_size_z = 1 ) in ; 8 9layout ( set = 0 , binding = 0 ) buffer MatrixBuf { 10float16_t matrixData [] ; 11} matrixBuf ; 12 13void main () 14{ 15coopvecNV < float16_t , 8 > v0 ; 16coopvecNV < float32_t , 5 > v1 ; 17vec4 v2 ; 18 19coopVecOuterProductAccumulateNV ( v0 , v1 , matrixBuf . matrixData , 100 , 128 , gl_CooperativeVectorMatrixLayoutInferencingOptimalNV , gl_ComponentTypeFloat16NV ) ; 20coopVecOuterProductAccumulateNV ( v0 , v2 , matrixBuf . matrixData , 100 , 128 , gl_CooperativeVectorMatrixLayoutInferencingOptimalNV , gl_ComponentTypeFloat16NV ) ; 21coopVecReduceSumAccumulateNV ( v2 , matrixBuf . matrixData , 100 ) ; 22}