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>
This commit is contained in:
Benjamin Welton
2024-04-18 02:28:56 -07:00
committed by GitHub
parent 32bc339789
commit edb1883a05
+1 -1
View File
@@ -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];