Skip to content

Commit b956e4c

Browse files
committed
don't try to emplace_back() on NUMA stuff
1 parent 0f4bf89 commit b956e4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llama-mmap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ struct llama_mmap::impl {
430430
strerror(errno));
431431
}
432432
}
433-
#endif // ifndef GGML_NUMA_MIRROR
434-
433+
435434
mapped_fragments.emplace_back(0, file->size());
435+
#endif // ifndef GGML_NUMA_MIRROR
436436
}
437437

438438
static void align_range(size_t * first, size_t * last, size_t page_size) {

0 commit comments

Comments
 (0)