If I want to use
T* pElement = (T*)((char*)BaseAddress + Column* pitch) + Row;
Do I write?
cudaMallocPitch( (void**) &d_src , &pitch , height* sizeof(float) , width);
Thanks!
If I want to use
T* pElement = (T*)((char*)BaseAddress + Column* pitch) + Row;
Do I write?
cudaMallocPitch( (void**) &d_src , &pitch , height* sizeof(float) , width);
Thanks!