P4 to Git Change 1089024 by ssahasra@ssahasra_opencl_windows on 2014/10/20 00:05:43
P4 to Git Change 1089024 by ssahasra@ssahasra_opencl_windows on 2014/10/20 00:05:43

	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

ROCm-Developer-Tools/ROCclr,ROCm-Developer-Tools/ROCclr