fixing overloaded functions as macro

[ROCm/roctracer commit: 9e2f37bf77]
This commit is contained in:
Evgeny
2019-09-16 11:19:04 -05:00
szülő efe3523ac4
commit f33be98f5a
2 fájl változott, egészen pontosan 6 új sor hozzáadva és 6 régi sor törölve
@@ -111,21 +111,21 @@ int main() {
// correlation reagion33
roctracer_activity_push_external_correlation_id(33);
roctxMarkA("before hipLaunchKernel");
roctxRangePushA("hipLaunchKernel");
roctxMark("before hipLaunchKernel");
roctxRangePush("hipLaunchKernel");
// Lauching kernel from host
hipLaunchKernel(matrixTranspose, dim3(WIDTH / THREADS_PER_BLOCK_X, WIDTH / THREADS_PER_BLOCK_Y),
dim3(THREADS_PER_BLOCK_X, THREADS_PER_BLOCK_Y), 0, 0, gpuTransposeMatrix,
gpuMatrix, WIDTH);
roctxMarkA("after hipLaunchKernel");
roctxMark("after hipLaunchKernel");
// correlation reagion end
roctracer_activity_pop_external_correlation_id(NULL);
// Memory transfer from device to host
roctxRangePushA("hipMemcpy");
roctxRangePush("hipMemcpy");
hipMemcpy(TransposeMatrix, gpuTransposeMatrix, NUM * sizeof(float), hipMemcpyDeviceToHost);