Add missing tests for hipHostMalloc (#2566)
这个提交包含在:
1 父节点
efcb5ad910
当前提交
8b291f071a
6 个文件已更改
+100
-50
没有与搜索条件相匹配的文件
@@ -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();
|
||||
|
||||
在新工单中引用
屏蔽一个用户