Use posix_memalign for network buffer allocation on host memory (#221)
* Use posix_memalign for network buffer allocation on host memory * ib-test: add ability to specify run iterations * ib-test: define iterations as multiple of default cycles * Add checking to posix_memalign return value
Этот коммит содержится в:
1 родитель
dc739c4e70
Коммит
0eb19a563a
6 files changed
+82
-12
No files matched your search
@@ -92,6 +92,9 @@ static_assert(NCCL_LL_CLEAN_MASK % NCCL_STEPS == 0, "Invalid NCCL_LL_CLEAN_MASK
|
||||
struct ncclConnInfo {
|
||||
// Regular comm mechanism
|
||||
char *buffs[NCCL_NUM_PROTOCOLS]; // Local for recv, remote for send
|
||||
#ifdef USE_MEMALIGN
|
||||
char *hostBuffs[NCCL_NUM_PROTOCOLS]; // Local for recv, remote for send
|
||||
#endif
|
||||
uint64_t *tail; // Local for recv, remote for send
|
||||
uint64_t *head; // Local for send, remote for recv
|
||||
uint64_t *opCountLoc; // opCount of local rank
|
||||
|
||||
Reference in new issue
Block a user