SWDEV-291783 - Catch2 tests for some of Stream APIs
Change-Id: I656fc59184863ef142cf89d7541982492f6b8484
[ROCm/hip commit: c74bff1d2f]
This commit is contained in:
committed by
Sarbojit Sarkar
parent
6182381054
commit
df02caad34
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user