foreman 2d0ee10d7b P4 to Git Change 1208596 by smekhano@stas-rampitec-hsa on 2015/11/06 16:26:28
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


[ROCm/clr commit: e18cd1d76e]
2015-11-06 16:37:38 -05:00
S
Описание
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Разное 1.1%