Commit 244b9ffb authored by wangshaojie6's avatar wangshaojie6
Browse files

revert

parent 12ca102e
...@@ -88,13 +88,12 @@ float launch_and_time_kernel(const StreamConfig& stream_config, ...@@ -88,13 +88,12 @@ float launch_and_time_kernel(const StreamConfig& stream_config,
block_dim.y, block_dim.y,
block_dim.z); block_dim.z);
const int nrepeat = 1; const int nrepeat = 10;
printf("Warm up 1 time\n"); printf("Warm up 1 time\n");
// warm up // warm up
kernel<<<grid_dim, block_dim, lds_byte, stream_config.stream_id_>>>(args...); kernel<<<grid_dim, block_dim, lds_byte, stream_config.stream_id_>>>(args...);
kernel<<<grid_dim, block_dim, lds_byte, stream_config.stream_id_>>>(args...);
printf("Start running %d times...\n", nrepeat); printf("Start running %d times...\n", nrepeat);
......
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