summaryrefslogtreecommitdiff
path: root/tests/cooperative-matrix/subscript.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cooperative-matrix/subscript.slang')
-rw-r--r--tests/cooperative-matrix/subscript.slang6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/cooperative-matrix/subscript.slang b/tests/cooperative-matrix/subscript.slang
index cfe164f04..0d765b6b3 100644
--- a/tests/cooperative-matrix/subscript.slang
+++ b/tests/cooperative-matrix/subscript.slang
@@ -9,7 +9,9 @@
//TEST_INPUT:ubuffer(stride=4, count=256):out,name=outputBuffer
RWStructuredBuffer<int32_t> outputBuffer;
-typealias CoopMatType = CoopMat<int32_t, CoopMatScope::Subgroup, 16, 16, CoopMatMatrixUse::MatrixAccumulator>;
+using namespace linalg;
+
+typealias CoopMatType = CoopMat<int32_t, MemoryScope.Subgroup, 16, 16, CoopMatMatrixUse::MatrixAccumulator>;
[numthreads(32, 1, 1)]
void computeMain()
@@ -19,5 +21,5 @@ void computeMain()
mat[1] = mat[0]+2;
mat[2] = mat[1]+3;
mat[3] = mat[2]+4;
- mat.store(outputBuffer, 0, 16, CoopMatMatrixLayout::RowMajor);
+ mat.Store<CoopMatMatrixLayout::RowMajor>(outputBuffer, 0, 16);
}