SWDEV-332512 - Add ROC_SIGNAL_POOL_SIZE

Default value is 32 HSA signals in the pool.

Change-Id: Icb69413d3ff6ef228d9a9e22fd024e72c6d8ebe4


[ROCm/clr commit: 7975a07112]
Tento commit je obsažen v:
German Andryeyev
2022-04-14 17:32:00 -04:00
rodič 4d573e013b
revize 4b4137ae63
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
+1 -1
Zobrazit soubor
@@ -330,7 +330,7 @@ VirtualGPU::HwQueueTracker::~HwQueueTracker() {
// ================================================================================================
bool VirtualGPU::HwQueueTracker::Create() {
constexpr size_t kSignalListSize = 32;
uint kSignalListSize = ROC_SIGNAL_POOL_SIZE;
signal_list_.resize(kSignalListSize);
hsa_agent_t agent = gpu_.gpu_device();
+2
Zobrazit soubor
@@ -270,6 +270,8 @@ release(uint, ROC_P2P_SDMA_SIZE, 1024, \
"The minimum size in KB for P2P transfer with SDMA") \
release(uint, ROC_AQL_QUEUE_SIZE, 4096, \
"AQL queue size in AQL packets") \
release(uint, ROC_SIGNAL_POOL_SIZE, 32, \
"Initial size of HSA signal pool") \
release(bool, ROC_SKIP_KERNEL_ARG_COPY, false, \
"If true, then runtime can skip kernel arg copy") \
release(bool, GPU_STREAMOPS_CP_WAIT, false, \