From 7548ac04ad92fdb65018ba498413f963a1e2feab Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 20 Oct 2014 00:17:58 -0400 Subject: [PATCH] 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/clr commit: e25e8f4561af19e763819fbc93a27c35627ad102] --- projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp index 3a05b1a2d3..54ceb074f7 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gpuschedcl.cpp @@ -8,7 +8,7 @@ namespace gpu { const char* SchedulerSourceCode = SCHEDULER_KERNEL( \n -extern void __amdrt_scheduler(__global void *, __global void *, uint); +extern void __amd_scheduler(__global void *, __global void *, uint); \n __kernel void scheduler(