SWDEV-291783 - Catch2 tests for some of Stream APIs
Change-Id: I656fc59184863ef142cf89d7541982492f6b8484
This commit is contained in:
gecommit door
Sarbojit Sarkar
bovenliggende
c749be3299
commit
617f19e6d9
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Verwijs in nieuw issue
Block a user