Fix memory leaks by adding missing destroy calls for
events, streams, and graphs at the end of tests.
Ensure that every test case executes destroy calls,
regardless of whether it passes or fails.
Change-Id: I814e35c528d90ed2abb34d77377f1a7fd3f1f11c
[ROCm/hip-tests commit: 9cffda4ebb]
Add data verifing after hipStreamSynchronize() call.
Enable the following in Linux
Unit_hipStreamBeginCaptureToGraph_CaptureDepGraph
Unit_hipStreamBeginCaptureToGraph_IndepGraphsThreads
Remove REQUIRE() in data verifying because it generates
too many assertions and makes "-s" very slow
Change-Id: I0fbcdaa9ffb9633d861312c221ac12df1772c6e5
[ROCm/hip-tests commit: 6edae64a1e]