Skip to content

Commit

Permalink
Set matrixmath configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrynsun committed Sep 8, 2015
1 parent 87b499f commit 40dd226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project1-Part2/src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
1 change: 1 addition & 0 deletions Project1-Part2/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ int main() {
}
}
cudaMul(hstA, hstB, hstC);
printMatrix(hstC);
return 1;
}

0 comments on commit 40dd226

Please sign in to comment.