SWDEV-291783 - Catch2 tests for some of Stream APIs

Change-Id: I656fc59184863ef142cf89d7541982492f6b8484
This commit is contained in:
Sarbojit Sarkar
2021-06-25 08:28:59 +00:00
committed by Sarbojit Sarkar
vanhempi fec4b0fa91
commit c74bff1d2f
8 muutettua tiedostoa jossa 298 lisäystä ja 1 poistoa
@@ -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;
}
}