Added roctxRangeStart and roctxRangeEnd
Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189 Added roctxRangeStart and roctxRangeEnd Change-Id: Id7f81c5a7d7f231c8f0e2323d31c37c827687189
Tá an tiomantas seo le fáil i:
1 tuismitheoir
9bb4b0d311
tiomantas
da17a158f8
5 comhad athraithe
+62
-5
Níor tháinig aon chomhaid le do chuardach
@@ -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);
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir