SWDEV-391858 - Reduce the size of step transfer

Change-Id: I78e9ed3c6550c497d6abdcf2b9e1a6d5bcdf7315
이 커밋은 다음에 포함됨:
German Andryeyev가 2023-04-21 13:50:15 -04:00를 커밋했습니다
1 부모 5865c642d4
커밋 930d1f04c2
1 파일이 변경됨
+3 -1
+3 -1
파일 보기
@@ -90,7 +90,9 @@ void OCLCreateBuffer::run(void) {
}
#endif
void *resultBuf = NULL;
;
// Reduce the buffer for the step transfers ahead of the allocation,
// since huge buffers may cause paging and very low performance
maxSteps /= 16;
while ((resultBuf = malloc(maxSteps)) == NULL) {
maxSteps /= 2;
continue;