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:
parent
2b97507229
commit
ff5ffc7cba
1 changed files with 1 additions and 1 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue