cudaMalloc is called in the host code rather than in the device code. Could you please explain the procedure of memory allocation in device memory? tks.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| What happens when a cudaMalloc is called | 1 | 1124 | March 21, 2017 | |
| Differences CudaMalloc vs Malloc | 6 | 6192 | May 16, 2023 | |
| What's actually behind cudaMalloc When it is called inside a kernel? | 1 | 6273 | May 23, 2016 | |
| cudaMalloc() vs Malloc() in pure C | 5 | 912 | September 18, 2024 | |
| allocate memory in device code? | 1 | 1062 | June 13, 2009 | |
| malloc-ing in either host or device code | 2 | 2325 | February 5, 2009 | |
| cudaMalloc in __device__ code | 2 | 5293 | February 26, 2008 | |
| may i malloc mem on device. | 2 | 2140 | December 30, 2008 | |
| Memeory allocation on Host Memory allocation to Host to Device Transfer | 2 | 1438 | December 10, 2009 | |
| Use of cudaMalloc in a kernel | 1 | 3273 | May 4, 2009 |