summaryrefslogtreecommitdiff
path: root/src/stream_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_manager.cc')
-rw-r--r--src/stream_manager.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stream_manager.cc b/src/stream_manager.cc
index 1673e98..85778c9 100644
--- a/src/stream_manager.cc
+++ b/src/stream_manager.cc
@@ -152,8 +152,7 @@ void stream_operation::do_operation( gpgpu_sim *gpu )
case stream_kernel_launch:
if( gpu->can_start_kernel() ) {
printf("kernel \'%s\' transfer to GPU hardware scheduler\n", m_kernel->name().c_str() );
- // if( m_sim_mode )
- if(true)
+ if( m_sim_mode )
gpgpu_cuda_ptx_sim_main_func( *m_kernel );
else
gpu->launch( m_kernel );