SWDEV-332512 - Add ROC_SIGNAL_POOL_SIZE
Default value is 32 HSA signals in the pool. Change-Id: Icb69413d3ff6ef228d9a9e22fd024e72c6d8ebe4
This commit is contained in:
@@ -330,7 +330,7 @@ VirtualGPU::HwQueueTracker::~HwQueueTracker() {
|
|||||||
|
|
||||||
// ================================================================================================
|
// ================================================================================================
|
||||||
bool VirtualGPU::HwQueueTracker::Create() {
|
bool VirtualGPU::HwQueueTracker::Create() {
|
||||||
constexpr size_t kSignalListSize = 32;
|
uint kSignalListSize = ROC_SIGNAL_POOL_SIZE;
|
||||||
signal_list_.resize(kSignalListSize);
|
signal_list_.resize(kSignalListSize);
|
||||||
|
|
||||||
hsa_agent_t agent = gpu_.gpu_device();
|
hsa_agent_t agent = gpu_.gpu_device();
|
||||||
|
|||||||
@@ -270,6 +270,8 @@ release(uint, ROC_P2P_SDMA_SIZE, 1024, \
|
|||||||
"The minimum size in KB for P2P transfer with SDMA") \
|
"The minimum size in KB for P2P transfer with SDMA") \
|
||||||
release(uint, ROC_AQL_QUEUE_SIZE, 4096, \
|
release(uint, ROC_AQL_QUEUE_SIZE, 4096, \
|
||||||
"AQL queue size in AQL packets") \
|
"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, \
|
release(bool, ROC_SKIP_KERNEL_ARG_COPY, false, \
|
||||||
"If true, then runtime can skip kernel arg copy") \
|
"If true, then runtime can skip kernel arg copy") \
|
||||||
release(bool, GPU_STREAMOPS_CP_WAIT, false, \
|
release(bool, GPU_STREAMOPS_CP_WAIT, false, \
|
||||||
|
|||||||
Reference in New Issue
Block a user