why is my c program suddenly using 30g of virtual memory?

前端 未结 2 1555
予麋鹿
予麋鹿 2021-02-13 13:02

In top, I noticed that my c program (using CUDA 3.2) has a virtual size of 28g or more (looking at VIRT), on every run right from the beginning. This doesn\'t make ANY sense to

2条回答
  •  隐瞒了意图╮
    2021-02-13 13:12

    UVA requires CUDA to allocate enough virtual memory to map all of both GPU and system memory. Please see post #5 in the following thread on the NVIDIA forums:

提交回复
热议问题