python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
cuMemAlloc'ing memory in one CUDA context, and freeing it in another - why does this succeed?
I create 2 cuda context “ctx1” and "ctx2" and set current context to "ctx1" and allocate 8 bytes of memory and switch current context to ctx2. Then free Memory alloc in ctx1. Why d...
DplusT
Votes: 0
Answers: 1
Must I keep a virtual address range reservation if it has active mappings?
CUDA's low-level virtual memory management mechanism involves:
Physical allocations
Virtual address range reservations
Mappings between the above
Conveniently, if you map a physical allocation to so...
einpoklum
Votes: 0
Answers: 1
Why is cuMemAddressReserve() failing with CUDA_INVALID_VALUE?
Consider the following program (written in C syntax):
#include <cuda.h>
#include <stdio.h>
#include <stdlib.h>
int main() {
CUresult result;
unsigned int init_flags = 0;
...
einpoklum
Votes: 0
Answers: 2