N
N
NeoZeed2014-10-29 10:59:29
GPGPU
NeoZeed, 2014-10-29 10:59:29

How to use local video card memory and is it faster than shared?

There are identifiers for shared and constant memory.
Is it true that variables declared inside the kernel use local memory? And what is its speed compared to shared and constant?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-10-29
@NeoZeed

Local and global memory is the slowest. Register is the fastest, variables declared inside the kernel are supposedly stored in it. shared memory is divided into a pool of threads (warp in the context of CUDA).
www.microway.com/hpc-tech-tips/gpu-memory-types-pe...
The hardest thing to do at first is to achieve transactions when copying memory from global to shared, so that the data is copied in blocks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question