Hello, I’ve been sorking on some examples on the CUDA Zone Webpage. They’ve been running great without any problems, but I’m just curious about the cudaMalloc command:
cudaMalloc((void**) &pointer, memorySize);
Ok so I’m familiar with pointer, where you usually just write : int *apples;
But why does the void have two “*” ??
I know that "void " is a void pointer, but what does "void*"mean? Is it still a pointer? Is it just a matter of notation?
Looking for the answer on the web, but I can’t find ahything, jope you guys can help me with that theoritcail probelm I’m having…