Fix computation of max_wave_id property

Change-Id: I2ab145d301c92f39bbdb911e48aecccbd64ac82b
Bu işleme şunda yer alıyor:
Ramesh Errabolu authored and Gerrit Code Review committed 2016-07-20 11:16:17 -04:00
1 ebeveyn 49a6a39724
işleme da52417c14
1 file changed
+1 -1
+1 -1
Dosyayı Görüntüle
@@ -174,7 +174,7 @@ AqlQueue::AqlQueue(GpuAgent* agent, size_t req_size_pkts, HSAuint32 node_id,
const auto& props = agent->properties();
amd_queue_.max_cu_id = (props.NumFComputeCores / props.NumSIMDPerCU) - 1;
amd_queue_.max_wave_id = props.MaxWavesPerSIMD - 1;
amd_queue_.max_wave_id = (props.MaxWavesPerSIMD * props.NumSIMDPerCU) - 1;
#ifdef HSA_LARGE_MODEL
AMD_HSA_BITS_SET(amd_queue_.queue_properties, AMD_QUEUE_PROPERTIES_IS_PTR64,