Commit a8a5076f authored by Steffen Christgau's avatar Steffen Christgau Committed by Matthias Rüster
Browse files

fix host-to-device transfer of POIs

The padding (lpad) is already applied by the idx host/device function.
parent 25c40ba0
Pipeline #21738 passed with stages
in 5 minutes and 52 seconds
......@@ -164,7 +164,7 @@ int CGpuNode::copyPOIs() {
int id = data.idx( i, j );
CUDA_CALL( cudaMemcpy( h + idxPOI[n], data.h + dp.lpad + id, sizeof(float), cudaMemcpyDeviceToHost ) );
CUDA_CALL( cudaMemcpy( h + idxPOI[n], data.h + id, sizeof(float), cudaMemcpyDeviceToHost ) );
}
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment