All Questions
6 questions
1
vote
0
answers
88
views
Problem 101 The Blocks Problem UVA gives runtime-error on submission. works fine on Visual Studio Code
I have been trying to solve the UVA 101 The Blocks Problem. I wrote the solution in C++ and ran the sample input. It gives the correct output on visual studio code but on submitting on UVA it gives ...
0
votes
2
answers
978
views
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;
...
0
votes
1
answer
339
views
CUDA P2P memory access and __constant__ memory
I cannot find the answer anywhere and I may have overlooked it but it seems that one cannot use __constant__ memory (along with cudaMemcpyToSymbol) and peer-to-peer access with UVA.
I've tried the ...
2
votes
1
answer
2k
views
GPU memory oversubscription with mapped memory, Unified Virtual Addressing and Unified Memory
I'm considering possibilities to process data on a GPU, that is too big for the GPU memory, and I have a few questions.
If I understand that correctly, with mapped memory the data resides in the main ...
0
votes
1
answer
2k
views
Odd behavior of cudaMemcpyAsync: 1. cudaMemcpyKind makes no difference. 2. Copy fails, but silently
I'm familiarizing myself with a new cluster equipped with Pascal P100 GPUs+Nvlink. I wrote a ping-pong program to test gpu<->gpu and gpu<->cpu bandwidths and peer-to-peer access. (I'm aware the ...
0
votes
1
answer
450
views
In CUDA, does UVA depend on any hardware features?
I know CUDA only got UVA (Unified Virtual Addressing) with version 4.0. But - is that only a software feature? Or does it require some kind of hardware support (on the GPU side I mean)?
Notes:
In ...