Example: add two matrices
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user