Skip to content

Commit 40dd226

Browse files
committed
Set matrixmath configs.
1 parent 87b499f commit 40dd226

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Project1-Part2/src/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
// Configuration
55
// ==============================================
66

7-
const int ARRAY_SIZE = 2;
7+
const int ARRAY_SIZE = 5;
88

99
const int ARRAY_MEM_SIZE = ARRAY_SIZE * ARRAY_SIZE * sizeof(float);

Project1-Part2/src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ int main() {
4343
}
4444
}
4545
cudaMul(hstA, hstB, hstC);
46+
printMatrix(hstC);
4647
return 1;
4748
}

0 commit comments

Comments
 (0)