Add missing tests for hipHostMalloc (#2566)

Bu işleme şunda yer alıyor:
Jatin Chaudhary
2022-06-10 16:46:23 +01:00
işlemeyi yapan: GitHub
ebeveyn efcb5ad910
işleme 8b291f071a
6 değiştirilmiş dosya ile 100 ekleme ve 50 silme
+1 -2
Dosyayı Görüntüle
@@ -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();