Add missing tests for hipHostMalloc (#2566)

Este commit está contenido en:
Jatin Chaudhary
2022-06-10 16:46:23 +01:00
cometido por GitHub
padre efcb5ad910
commit 8b291f071a
Se han modificado 6 ficheros con 100 adiciones y 50 borrados
+1 -2
Ver fichero
@@ -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();