SWDEV-291783 - Catch2 tests for some of Stream APIs
Change-Id: I656fc59184863ef142cf89d7541982492f6b8484
This commit is contained in:
committed by
Sarbojit Sarkar
vanhempi
fec4b0fa91
commit
c74bff1d2f
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user