We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bank.cu中transpose代码
int nx2 = bx + threadIdx.y; int ny2 = by + threadIdx.x; if (nx2 < N && ny2 < N) { B[nx2 * N + ny2] = S[threadIdx.x][threadIdx.y]; }
中转置后的B矩阵的坐标 (nx2, ny2) 中计算应为 nx2 = by + threadIdx.y 和 ny2 = bx + threadIdx.x?这样和A矩阵的坐标计算正好是转置的关系
nx2 = by + threadIdx.y
ny2 = bx + threadIdx.x
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
bank.cu中transpose代码
中转置后的B矩阵的坐标 (nx2, ny2) 中计算应为
nx2 = by + threadIdx.y
和ny2 = bx + threadIdx.x
?这样和A矩阵的坐标计算正好是转置的关系The text was updated successfully, but these errors were encountered: