2
0

Couple of cleanups.

Remove queue limitation since we loop through HW queues now.
Add a DevLogError if we fail to create the hsa_queue. A ticket showed a regression there.

Change-Id: I4f58e405f88e75600a762f6d6352838c969cdb5e
Este cometimento está contido em:
Christophe Paquot
2020-04-29 09:18:07 -07:00
ascendente 860ba6f0a1
cometimento b54c3f7db9
3 ficheiros modificados com 1 adições e 12 eliminações
-7
Ver ficheiro
@@ -57,9 +57,6 @@ Settings::Settings() {
nonCoherentMode = getenv("OPENCL_USE_NC_MEMORY_POLICY");
enableNCMode_ = (nonCoherentMode) ? true : false;
commandQueues_ = 200; //!< Field value set to maximum number
//!< concurrent Virtual GPUs for ROCm backend
// Disable image DMA by default (ROCM runtime doesn't support it)
imageDMA_ = false;
@@ -188,10 +185,6 @@ void Settings::override() {
maxWorkGroupSize3DZ_ = GPU_MAX_WORKGROUP_SIZE_3D_Z;
}
if (!flagIsDefault(GPU_MAX_COMMAND_QUEUES)) {
commandQueues_ = GPU_MAX_COMMAND_QUEUES;
}
if (!flagIsDefault(GPU_XFER_BUFFER_SIZE)) {
xferBufSize_ = GPU_XFER_BUFFER_SIZE * Ki;
}