SWDEV-419965: Enabling and fixing AyncCopyTest in runTracerFeatureTests

Change-Id: Iceeaae11b5367483ac03db0c500dd27f4037e53e


[ROCm/rocprofiler commit: a1f9b244c8]
이 커밋은 다음에 포함됨:
Manjunath-Jakaraddi 작성하고 Gopesh Bhardwaj가 2024-02-08 02:03:04 -05:00를 커밋함
1 부모 81db692b1c
커밋 b04aa8f36d
2 파일이 변경됨
+4 -4

검색과 일치하는 파일 없음

+2 -2
파일 보기
@@ -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<void**>(&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");
}
+2 -2
파일 보기
@@ -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<tracer_kernel_info_t> 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<tracer_kernel_info_t> current_kernel_info;