Skip to content

Commit

Permalink
fixup! Add test coverage for clCloneKernel with Execinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
jainvikas8 committed Aug 19, 2021
1 parent 66f2cd1 commit 1a825a0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test_conformance/api/test_clone_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,13 @@ int test_cloned_kernel_exec_info(cl_device_id deviceID, cl_context context,
clSVMFree(context, svmPtr_cloneKernel_2);

clSVMFree(context, pBuf);
}

return TEST_PASS;
return TEST_PASS;
}
else
{
return TEST_SKIPPED_ITSELF;
}
}

int test_empty_enqueue_helper(cl_command_queue queue, cl_kernel* srcKernel)
Expand Down Expand Up @@ -904,7 +908,7 @@ int test_clone_kernel(cl_device_id deviceID, cl_context context,
}

if (test_cloned_kernel_exec_info(deviceID, context, queue, num_elements)
!= 0)
== TEST_FAIL)
{
test_fail("clCloneKernel test_cloned_kernel_exec_info failed.\n");
}
Expand Down

0 comments on commit 1a825a0

Please sign in to comment.