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: e25e8f4561]
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2014-10-20 00:17:58 -04:00
1 rodzic
1a5cdb9116
złożenie
7548ac04ad
Plik 1 zmieniony
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika