CUDA, das ein Array von Arrays zuweist
Ich habe Probleme mit der Zuweisung von Arrays in CUDA.
void ** data;
cudaMalloc(&data, sizeof(void**)*N); // allocates without problems
for(int i = 0; i < N; i++) {
cudaMalloc(data + i, getSize(i) * sizeof(void*)); // seg fault is thrown
}
Was habe ich falsch gemacht?