Do not deferred stream creation now that we multiplex HW queues
SWDEV-239856 Change-Id: I156650faf832f86891f00ee167269509edd844ec
Этот коммит содержится в:
коммит произвёл
Christophe Paquot
родитель
0a513d8a02
Коммит
20ae4d709f
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user