foreman 68fd364e19 P4 to Git Change 1205457 by emankov@em-hsa-amd on 2015/10/29 12:03:44
SWDEV-77584 - ORCA RT: Preparations for enabling HSAIL on OpenCL 1.2 by default. Call aclLink always even for single library/binary.

	[Reason]
	If the binary is linked with an option -create-library & actually without any other modules to link, the binary is not changed except the ELF type, which should be ET_DYN according to OpenCL spec. Setting this ELF type did not perform previously, because aclLink was not called in case of single binary.
	After switching to HSAIL by default program_binary_type from conformance/compiler test (at least, but may be some others) would fail.

	aclLink correctly handles situations with no libs to link, and correctly sets the corresponding ELF type for the "linked" binary.

	[Testing] pre check-in

	[Reviewer] German Andryeyev
	http://ocltc.amd.com/reviews/r/8845/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#213 edit
2015-10-29 12:21:02 -04:00
S
Deskripsi
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Other 1.1%