Add missing tests for hipHostMalloc (#2566)

このコミットが含まれているのは:
Jatin Chaudhary authored and GitHub committed 2022-06-10 21:16:23 +05:30
1 親 efcb5ad910
コミット 8b291f071a
6ファイル変更
+100 -50

検索条件に一致するファイルはありません

+1 -2
ファイルの表示
@@ -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();