Non-CUDA equivalent of allocating numa memory and returning pointer to it. Note: Numa memory is not supported on non-CUDA.
(size: int, numa_id: int = 0)
| 532 | |
| 533 | |
| 534 | def alloc_numa_ptr(size: int, numa_id: int = 0) -> int: |
| 535 | """Non-CUDA equivalent of allocating numa memory and returning pointer |
| 536 | to it. Note: Numa memory is not supported on non-CUDA.""" |
| 537 | return alloc_pinned_numa_ptr(size, numa_id) |
| 538 | |
| 539 | |
| 540 | def free_numa_ptr(ptr: int, size: int | None = None) -> None: |
nothing calls this directly
no test coverage detected