Do not deferred stream creation now that we multiplex HW queues

SWDEV-239856

Change-Id: I156650faf832f86891f00ee167269509edd844ec


[ROCm/clr commit: 20ae4d709f]
이 커밋은 다음에 포함됨:
Christophe Paquot
2020-06-09 10:07:58 -07:00
커밋한 사람 Christophe Paquot
부모 0d8425ee5a
커밋 4206cfddc5
2개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
+1 -1
파일 보기
@@ -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;
}
+1 -1
파일 보기
@@ -204,7 +204,7 @@ void runTest()
// validate that stream priorities are working as expected
#define OP(x, y) \
if (enable_priority_##x && enable_priority_##y) { \
if (time_spent_##x < time_spent_##y) { printf("FAILED!"); exit(-1); } \
if ((1.05f * time_spent_##x) < time_spent_##y) { printf("FAILED!"); exit(-1); } \
}
OP(low, normal)
OP(normal, high)