Do not deferred stream creation now that we multiplex HW queues

SWDEV-239856

Change-Id: I156650faf832f86891f00ee167269509edd844ec
This commit is contained in:
Christophe Paquot
2020-06-09 10:07:58 -07:00
committed by Christophe Paquot
parent 087c579625
commit c8f9afa9da
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ static hipError_t ihipStreamCreate(hipStream_t* stream,
const std::vector<uint32_t>& cuMask = {}) {
hip::Stream* hStream = new hip::Stream(hip::getCurrentDevice(), priority, flags, false, cuMask);
if (hStream == nullptr) {
if (hStream == nullptr || !hStream->Create()) {
return hipErrorOutOfMemory;
}