Add missing tests for hipHostMalloc (#2566)
Este cometimento está contido em:
1 ascendente
efcb5ad910
cometimento
8b291f071a
6 ficheiros modificados
+100
-50
Não existem ficheiros que correspondam à sua pesquisa
@@ -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();
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador