mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-22 08:04:25 +00:00
Update exercise2.cu
This commit is contained in:
parent
8477302d95
commit
5761b0de1c
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ int main(int argc, const char **argv)
|
||||||
|
|
||||||
//TODO: ADD CUDA Data Move
|
//TODO: ADD CUDA Data Move
|
||||||
start_timer();
|
start_timer();
|
||||||
cudaMemcpy(h_x, d_x, sizeof(float) * n, cudaMemcpyDeviceToHost);
|
cudaMemcpy(d_x, h_x, sizeof(float) * n, cudaMemcpyHostToDevice);
|
||||||
|
|
||||||
//TODO: Add kernel call here
|
//TODO: Add kernel call here
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue