SWDEV-291783 - Catch2 tests for some of Stream APIs

Change-Id: I656fc59184863ef142cf89d7541982492f6b8484


[ROCm/hip commit: c74bff1d2f]
This commit is contained in:
Sarbojit Sarkar
2021-06-25 08:28:59 +00:00
committed by Sarbojit Sarkar
parent 6182381054
commit df02caad34
8 changed files with 298 additions and 1 deletions
@@ -43,5 +43,9 @@ THE SOFTWARE.
// Utility Functions
namespace HipTest {
int getDeviceCount();
static inline int getDeviceCount() {
int dev = 0;
HIP_CHECK(hipGetDeviceCount(&dev));
return dev;
}
}