e25e8f4561
ECR #333753 - clc2: disallow implicit function declarations (bug 10328) In addition, the change fixes the following side-effects: 1. Fix a typo in runtime/.../gpuschedcl.cpp, which fails due to the stricter check in Clang. 2. Unconditionally add sub_group builtins for pipes, without checking if the extension is enabled. See bug 10366. 3. Also added a test in ocl_features_clang to check for the sub_group builtins. Passes smoke, smoke_clang, precheckin. Additionally passes new tests added in ocl_features. Reviewed by Brian Sumner. Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/clang/lib/Sema/SemaLookup.cpp#9 edit ... //depot/stg/opencl/drivers/opencl/compiler/clc2/wrapper/ClangWrapper.cpp#12 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#33 edit