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
This commit is contained in:
Christophe Paquot committed 2020-04-29 09:18:07 -07:00
1 parent 860ba6f0a1
commit b54c3f7db9
3 files changed
+1 -12

No files matched your search

-5
View File
@@ -694,11 +694,6 @@ VirtualGPU::~VirtualGPU() {
}
bool VirtualGPU::create() {
// Checking Virtual gpu unique index for ROCm backend
if (index() > device().settings().commandQueues_) {
return false;
}
// Pick a reasonable queue size
uint32_t queue_size = 1024;
gpu_queue_ = roc_device_.acquireQueue(queue_size, cooperative_);