SWDEV-269879 - Adding function that recommends optimal thread count
Change-Id: I42eb94a058c1b7f9253182e16ff1c3389a836d61
[ROCm/hip commit: 7ba1a0cf72]
This commit is contained in:
@@ -158,6 +158,9 @@ extern const char* NULL_DEVICE;
|
||||
#define TYPENAME(T) "?"
|
||||
#endif
|
||||
|
||||
// Get Optimal Thread count size
|
||||
size_t getHostThreadCount(const size_t memPerThread = 200 /* MB */, const size_t maxThreads = 0);
|
||||
|
||||
namespace HipTest {
|
||||
|
||||
// Returns the current system time in microseconds
|
||||
|
||||
Reference in New Issue
Block a user