Modified hipMalloc size for main.cpp in sample (#786)

* Modified hipMalloc size for main.cpp in sample

* Update samples/counter_collection/main.cpp

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
Dieser Commit ist enthalten in:
Benjamin WeltonundJonathan R. Madsen verfasst und GitHub committed 2024-04-18 04:28:56 -05:00
1 Ursprung 32bc339789
Commit edb1883a05
1 Datei geändert
+1 -1
+1 -1
Datei anzeigen
@@ -77,7 +77,7 @@ launchKernels()
}
const int NElems = 512 * 512;
const int Nbytes = NElems * 2;
const int Nbytes = NElems * sizeof(int);
int * A_d, *C_d;
int A_h[NElems], C_h[NElems];