diff --git a/projects/rocprofiler/tests-v2/featuretests/tracer/apps/copy_on_engine.cpp b/projects/rocprofiler/tests-v2/featuretests/tracer/apps/copy_on_engine.cpp index 185a060efd..337d5a3533 100644 --- a/projects/rocprofiler/tests-v2/featuretests/tracer/apps/copy_on_engine.cpp +++ b/projects/rocprofiler/tests-v2/featuretests/tracer/apps/copy_on_engine.cpp @@ -194,7 +194,7 @@ static hsa_status_t AsyncCpyTest(async_mem_cpy_agent* dst, async_mem_cpy_agent* // Initialize the system and destination buffers with a value so we can later // validate it has been overwritten - void* sysPtr = args->cpu.ptr; + void* sysPtr = dst->ptr; err = hsa_amd_memory_fill(src->ptr, val, sz / sizeof(uint32_t)); RET_IF_HSA_ERR(err); @@ -303,7 +303,7 @@ int main() { reinterpret_cast(&args.gpu2.ptr)); RET_IF_HSA_ERR(err); fprintf(stdout, "Copying %lu bytes from gpu1 memory to gpu2 memory...\n", sz); - err = AsyncCpyTest(&args.gpu1, &args.gpu2, &args, sz, kTestFillValue3); + err = AsyncCpyTest(&args.gpu2, &args.gpu1, &args, sz, kTestFillValue3); RET_IF_HSA_ERR(err); fprintf(stdout, "Success!\n"); } diff --git a/projects/rocprofiler/tests-v2/featuretests/tracer/tracer_gtest.cpp b/projects/rocprofiler/tests-v2/featuretests/tracer/tracer_gtest.cpp index 704456ac0f..cf5a1ca1ee 100644 --- a/projects/rocprofiler/tests-v2/featuretests/tracer/tracer_gtest.cpp +++ b/projects/rocprofiler/tests-v2/featuretests/tracer/tracer_gtest.cpp @@ -303,7 +303,7 @@ class AsyncCopyTest : public Tracertest { // Test:1 Compares total num of kernel-names in golden output against current // tracer output -TEST_F(AsyncCopyTest, DISABLED_WhenRunningTracerWithAppThenAsyncCopyOutputIsGenerated) { +TEST_F(AsyncCopyTest, WhenRunningTracerWithAppThenAsyncCopyOutputIsGenerated) { // kernel info in current profler run std::vector current_kernel_info; @@ -312,7 +312,7 @@ TEST_F(AsyncCopyTest, DISABLED_WhenRunningTracerWithAppThenAsyncCopyOutputIsGene } // Test:2 Matches coelation Ids -TEST_F(AsyncCopyTest, DISABLED_WhenRunningTracerWithAppThenAsyncCorelationCountIsCorrect) { +TEST_F(AsyncCopyTest, WhenRunningTracerWithAppThenAsyncCorelationCountIsCorrect) { // kernel info in current profler run std::vector current_kernel_info;