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]
Этот коммит содержится в:
Benjamin Welton
2024-04-18 02:28:56 -07:00
коммит произвёл GitHub
родитель 627a9f54f1
Коммит 9368927196
+1 -1
Просмотреть файл
@@ -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];