diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-09-25 10:06:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-25 17:06:29 +0000 |
| commit | f55f669d1badc94eb4eabf77a22a5994acca7a89 (patch) | |
| tree | db43b05492ddb64aea3b99f3f090228b76e30646 /tests/cooperative-vector/outer-product-structuredbuffer.slang | |
| parent | 2e0fe3d0608c4de239fd6cd2ecdf0322951855f5 (diff) | |
Fix VVL errors on coopvec tests (#8541)
It appears that the inputType of the coopvec-mat-mul cannot be signed
int32.
It could be floating types or signed int32.
Changing the tests to use uint32 instead of int32.
The spec guarantees the following combinations and the rest should be
queried at the runtime if it is supported by the HW.
https://registry.khronos.org/vulkan/specs/latest/man/html/VkCooperativeVectorPropertiesNV.html#_description
inputType | inputInterpretation | matrixInterpretation |
biasInterpretation | resultType
-- | -- | -- | -- | --
FLOAT16 | FLOAT16 | FLOAT16 | FLOAT16 | FLOAT16
UINT32 | SINT8_PACKED | SINT8 | SINT32 | SINT32
SINT8 | SINT8 | SINT8 | SINT32 | SINT32
FLOAT32 | SINT8 | SINT8 | SINT32 | SINT32
FLOAT16 | FLOAT_E4M3 | FLOAT_E4M3 | FLOAT16 | FLOAT16
FLOAT16 | FLOAT_E5M2 | FLOAT_E5M2 | FLOAT16 | FLOAT16
Diffstat (limited to 'tests/cooperative-vector/outer-product-structuredbuffer.slang')
| -rw-r--r-- | tests/cooperative-vector/outer-product-structuredbuffer.slang | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cooperative-vector/outer-product-structuredbuffer.slang b/tests/cooperative-vector/outer-product-structuredbuffer.slang index a2a408c9e..6cd534796 100644 --- a/tests/cooperative-vector/outer-product-structuredbuffer.slang +++ b/tests/cooperative-vector/outer-product-structuredbuffer.slang @@ -1,4 +1,3 @@ -// Fails because VVL 1.4.313.0 has a bug that sees int32_t as uint32_t in validation layers, issue #7715 //TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK):-vk -render-feature cooperative-vector -output-using-type // These platforms don't support these operations into structured buffers @@ -64,7 +63,7 @@ void computeMain() output, 0, 32, - CoopVecMatrixLayout::RowMajor, + CoopVecMatrixLayout::TrainingOptimal, CoopVecComponentType::Float16, ); } |
