Add missing tests for hipHostMalloc (#2566)
Tá an tiomantas seo le fáil i:
1 tuismitheoir
efcb5ad910
tiomantas
8b291f071a
6 comhad athraithe
+100
-50
Níor tháinig aon chomhaid le do chuardach
@@ -51,8 +51,7 @@ static size_t getMemoryAmount() {
|
||||
#endif
|
||||
}
|
||||
|
||||
static size_t getHostThreadCount(const size_t memPerThread,
|
||||
const size_t maxThreads) {
|
||||
static inline size_t getHostThreadCount(const size_t memPerThread, const size_t maxThreads) {
|
||||
if (memPerThread == 0) return 0;
|
||||
auto memAmount = getMemoryAmount();
|
||||
const auto processor_count = std::thread::hardware_concurrency();
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir