1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2025-02-16 17:13:57 +00:00

Fix comment of array locality

This commit is contained in:
Steffo 2022-11-29 17:31:39 +01:00 committed by GitHub
parent 2b97507229
commit ff5ffc7cba
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ __host__ static void kernel_atax(DATA_TYPE** A, DATA_TYPE* X, DATA_TYPE* Y)
*/
__host__ int main(int argc, char **argv)
{
// A[NY][NX]
// A[NX][NY]
DATA_TYPE** A = new DATA_TYPE*[NX] {};
for(unsigned int x = 0; x < NX; x++)
{