68fd364e193019e522fbdbd806cec2fcade227b9
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
Deskripsi
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Other
1.1%