python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Are CUDA_VERSION and CUDART_VERSION necessarily the same?
The CUDA Driver API defines CUDA_VERSION (in cuda.h), and the CUDA Runtime API defines CUDART_VERSION (in cuda_runtime_api.h). However - CUDART_VERSION is not defined as CUDA_VERSION but directly as a...
ein supports Moderator Strike
Votes: 0
Answers: 1
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...
ein supports Moderator Strike
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;
...
ein supports Moderator Strike
Votes: 0
Answers: 2