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>
[ROCm/rocprofiler-sdk commit: edb1883a05]
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user