@@ -989,8 +989,8 @@ void shader_core_ctx::fetch() {
989
989
// mem_fetch *mf = m_mem_fetch_allocator->alloc()
990
990
mem_access_t acc (INST_ACC_R, ppc, nbytes, false , m_gpu->gpgpu_ctx );
991
991
mem_fetch *mf = new mem_fetch (
992
- acc, NULL , m_warp[warp_id]->get_kernel_info ()-> get_streamID (),
993
- READ_PACKET_SIZE, warp_id, m_sid, m_tpc, m_memory_config,
992
+ acc, NULL , m_warp[warp_id]->get_streamID (), READ_PACKET_SIZE ,
993
+ warp_id, m_sid, m_tpc, m_memory_config,
994
994
m_gpu->gpu_tot_sim_cycle + m_gpu->gpu_sim_cycle );
995
995
std::list<cache_event> events;
996
996
enum cache_request_status status;
@@ -4557,8 +4557,7 @@ unsigned simt_core_cluster::issue_block2core() {
4557
4557
kernel = m_core[core]->get_kernel ();
4558
4558
if (!m_gpu->kernel_more_cta_left (kernel)) {
4559
4559
// wait till current kernel finishes
4560
- if (m_core[core]->get_not_completed () == 0 &&
4561
- m_core[core]->pending_ctas .empty ()) {
4560
+ if (m_core[core]->get_not_completed () == 0 ) {
4562
4561
kernel_info_t *k = m_gpu->select_kernel ();
4563
4562
if (k) m_core[core]->set_kernel (k);
4564
4563
kernel = k;
0 commit comments