From 40dd2268e3a6b0b9ad32e434968aefd2d4b0281b Mon Sep 17 00:00:00 2001 From: Terry Sun Date: Mon, 7 Sep 2015 23:09:11 -0400 Subject: [PATCH] Set matrixmath configs. --- Project1-Part2/src/config.h | 2 +- Project1-Part2/src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project1-Part2/src/config.h b/Project1-Part2/src/config.h index 874d786..34d8248 100644 --- a/Project1-Part2/src/config.h +++ b/Project1-Part2/src/config.h @@ -4,6 +4,6 @@ // Configuration // ============================================== -const int ARRAY_SIZE = 2; +const int ARRAY_SIZE = 5; const int ARRAY_MEM_SIZE = ARRAY_SIZE * ARRAY_SIZE * sizeof(float); diff --git a/Project1-Part2/src/main.cpp b/Project1-Part2/src/main.cpp index ad656ec..4aa37fe 100644 --- a/Project1-Part2/src/main.cpp +++ b/Project1-Part2/src/main.cpp @@ -43,5 +43,6 @@ int main() { } } cudaMul(hstA, hstB, hstC); + printMatrix(hstC); return 1; }