Commit 83e81bb8 authored by Daniel Campora's avatar Daniel Campora
Browse files

Updated SAXPY example.

parent b16df894
......@@ -245,7 +245,7 @@ void saxpy::saxpy_t::operator()(
global_function(saxpy)(
dim3(1),
property<block_dim_t>(),
cuda_stream)(arguments, first<host_number_of_selected_events_t>(arguments));
stream)(arguments, first<host_number_of_events_t>(arguments));
}
```
......
......@@ -20,8 +20,8 @@ void saxpy::saxpy_t::operator()(
cudaStream_t& stream,
cudaEvent_t&) const
{
global_function(saxpy)(dim3(1), property<block_dim_t>(), cuda_stream)(
arguments, first<host_number_of_selected_events_t>(arguments));
global_function(saxpy)(dim3(1), property<block_dim_t>(), stream)(
arguments, first<host_number_of_events_t>(arguments));
}
/**
......
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