From f93fbe151f643d64e6b3605fe0f038731837b2dc Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 22 Nov 2021 23:34:28 +0800 Subject: [PATCH] update calculation error --- capter8/matrix.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/capter8/matrix.cu b/capter8/matrix.cu index 31bc5cc..036040d 100644 --- a/capter8/matrix.cu +++ b/capter8/matrix.cu @@ -20,8 +20,8 @@ int main() { // 由于显存 2 GB,float 为 4 字节,double 为 8 字节,所以在 transpose3, transpose4中: // float 矩阵维度不能超过 726; - // double 矩阵维度不能超过 342; - const int N = 300; + // double 矩阵维度不能超过 512; + const int N = 500; const int M = N * N * sizeof(real); int SIZE = 0;