Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

well there are more types :) shared memory: which is reserved for the SM (a bunch of CUDA cores) so that cores in the same block (SM) can share data. pinned memory: you can disable OS paging in the RAM (since CUDA operates in the driver level)


> well there are more types :) shared memory: which is reserved for the SM (a bunch of CUDA cores) so that cores in the same block (SM) can share data. pinned memory: you can disable OS paging in the RAM (since CUDA operates in the driver level)

I used different (OpenCL-like) terminology, but we're talking about the same things. Shared memory <=> local memory. Pinned memory <=> page locked dma buffers.


i thought "local memory" refers to thread-local memory, i.e: registers (you didn't count this elsewhere)

and i am not sure "page aligned" and "page-pinned" are the same thing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: