91bbd98a0b
SWDEV-83192 - [CQE OCL][2.0][QR] Few MCLSubtests are falling due to faulty cl#1208929 [Synopsis] Failure is because of additional check on compilation options existence in binary, which are expected in a separate section in the input binary. Options are expected on HSAIL path in order to make a decision whether to recompile or not the input code. AMDIL path has another strategy for recompilation algorithm and doesn't need options to be obligatory presented in input binary. [Solution] Remove options existence check in the input binary when compiling from BINARY_TYPE_ELF. P.S. With the fix HSAIL path also doesnt require compilation options existence in input binary anymore. Recompilation will be done silently in such case. [Testing] Pre checkin, MCL Reviewed by Evgeniy Mankov, Nikolay Haustov, German Andryeyev http://ocltc.amd.com/reviews/r/9560/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#77 edit