e18cd1d76e
SWDEV-80874 - fixed staging buffer overflow with HSA printf Staging buffer is ~2 times smaller than allocated printf buffer, so if amount of data in printf buffer exceeds the size of the staging buffer we hit assertion in the memory copy. To hit the assertion that is enough to print 2 integers with 64K workitems. Added loop to read printf buffer into staging in portions. Testing: smoke, precheckin, conformance printf with HSAIL forced, custom tests Reviewed by German Andreev Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#41 edit