Skip to content

Commit 13c4d37

Browse files
committed
added bias argument to streams.cpp
1 parent fac970d commit 13c4d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streams/02-concurrency/streams.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void case_0(hipEvent_t *start_event, hipEvent_t *stop_event, hipStream_t *stream
6565

6666
// Copy data to device, launch kernel, copy data back to host
6767
HIP_ERRCHK(hipMemcpy(d_a, a, n_total * sizeof(float), hipMemcpyHostToDevice));
68-
kernel<<<gridsize, blocksize>>>(d_a, n_total);
68+
kernel<<<gridsize, blocksize>>>(d_a, n_total, 0);
6969
HIP_ERRCHK(hipMemcpy(a, d_a, n_total * sizeof(float), hipMemcpyDeviceToHost));
7070

7171
// Record the stop event for the total time

0 commit comments

Comments
 (0)