Added roctxRangeStart and roctxRangeEnd

Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189

Added roctxRangeStart and roctxRangeEnd

Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189


[ROCm/roctracer commit: da17a158f8]
Этот коммит содержится в:
Rachida Kebichi committed 2020-08-11 17:28:03 -04:00
1 родитель 9dce4ee5f3
Коммит 86954dba1f
5 files changed
+62 -5

No files matched your search

+2
Просмотреть файл
@@ -97,6 +97,7 @@ int main() {
roctracer_mark("before HIP LaunchKernel");
roctxMark("before hipLaunchKernel");
int rangeId = roctxRangeStart("hipLaunchKernel range");
roctxRangePush("hipLaunchKernel");
// Lauching kernel from host
hipLaunchKernelGGL(matrixTranspose, dim3(WIDTH / THREADS_PER_BLOCK_X, WIDTH / THREADS_PER_BLOCK_Y),
@@ -112,6 +113,7 @@ int main() {
roctxRangePop(); // for "hipMemcpy"
roctxRangePop(); // for "hipLaunchKernel"
roctxRangeStop(rangeId);
// CPU MatrixTranspose computation
matrixTransposeCPUReference(cpuTransposeMatrix, Matrix, WIDTH);