Example: add two matrices

This commit is contained in:
2023-12-24 11:27:32 +01:00
parent e49b667b8a
commit 329c0191cc
6 changed files with 65 additions and 62 deletions

View File

@@ -18,25 +18,25 @@ pub const TEST_KERNEL: Kernel = Kernel([
dst: File::GrfB { index: 1 },
},
Instruction::ADD {
src0: File::GrfA { index: 0 },
src0: File::Bank,
src1: File::GrfA { index: 0 },
dst: File::GrfA { index: 0 },
aam: false,
},
Instruction::ADD {
src0: File::GrfB { index: 0 },
src0: File::Bank,
src1: File::GrfB { index: 0 },
dst: File::GrfB { index: 0 },
aam: false,
},
Instruction::ADD {
src0: File::GrfA { index: 1 },
src0: File::Bank,
src1: File::GrfA { index: 1 },
dst: File::GrfA { index: 1 },
aam: false,
},
Instruction::ADD {
src0: File::GrfB { index: 1 },
src0: File::Bank,
src1: File::GrfB { index: 1 },
dst: File::GrfB { index: 1 },
aam: false,