foreman
49d1896484
P4 to Git Change 1061376 by ssahasra@ssahasra_opencl_windows on 2014/07/31 02:22:23
...
ECR #333753 - linker: rely on builtins library triple instead of elf binary
This is the first of multiple changes aimed at unifying the
offline linker (llvm-link) with the online linker in the compiler
library. The online linker is considered state-of-the-art and the
code there needs to be made available to the offline linker.
This change teaches the online linker to determine the target by
examining the target triple on the builtins library modules,
instead of checking the elf binary target. The assumption is that
the builtins library always matches the actual target as
confirmed in CL 1041226. This removes one dependence of compiler
library functions so that the affected code can eventually be
moved to llvm/lib and shared with the offline linker.
The change passes smoke_clang (Orca build), smoke (HSA build) and Teamcity pre-checkin.
Reviewed by Brian Sumner, Yaxun Liu, Stanislav Mekhanoshin
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#107 edit
[ROCm/clr commit: 4396288d55 ]
2014-07-31 02:31:05 -04:00
foreman
aa79c6851f
P4 to Git Change 1058650 by shivara@shivaram_llvmmerge_dt on 2014/07/24 01:26:41
...
ECR #397495 - Adding macros which are missing in clang path.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#16 edit
[ROCm/clr commit: cde1570514 ]
2014-07-24 01:39:00 -04:00
foreman
71a25ff296
P4 to Git Change 1058395 by emankov@em-hsa-amd on 2014/07/23 13:32:42
...
ECR #333753 - Compiler Lib: Resubmitting double checked changes from CL 1056755 & 1056683
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#43 edit
[ROCm/clr commit: 3eca90a7db ]
2014-07-23 13:54:37 -04:00
foreman
351ae12237
P4 to Git Change 1058289 by emankov@em-hsa-amd on 2014/07/23 08:19:09
...
ECR #333753 - Compiler Lib: back out CL 1056755 & 1056683
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#42 edit
[ROCm/clr commit: f57b7f8c29 ]
2014-07-23 08:27:56 -04:00
foreman
4ab198857b
P4 to Git Change 1057020 by skudchad@skudchad_opencl_win_2 on 2014/07/18 20:31:56
...
ECR #304775 - Change to OpenCL 2.0 in library properties. Some cleanup for OPENCL_MAINLINE
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.rc#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#447 edit
[ROCm/clr commit: cb89c1fe5a ]
2014-07-18 20:37:25 -04:00
foreman
57ae5a26d9
P4 to Git Change 1056683 by emankov@em-hsa-amd on 2014/07/18 05:59:08
...
ECR #333753 - Compiler Lib: use Callback() instead of cout
Testing: smoke_clang, pre check-in
Reviewer: Brian Sumner
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#39 edit
[ROCm/clr commit: 45497b47dd ]
2014-07-18 06:05:30 -04:00
foreman
4ccb3b0eef
P4 to Git Change 1056202 by emankov@em-hsa-amd on 2014/07/17 07:56:29
...
ECR #333753 - Compiler Lib: Error if wrong combination of march & OpenCL version
HSAIL doesn't support OpenCL version < 2.0
AMDIL doesn't support OpenCL version >= 2.0
Affects only ORCA builds (both 1.2 & 2.0), doesn't affect .hsa build.
Testing: smoke_clang, pre check-in
Reviewer: Stanislav Mekhanoshin
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#38 edit
[ROCm/clr commit: 4798473034 ]
2014-07-17 08:03:17 -04:00
foreman
534af19874
P4 to Git Change 1055301 by emankov@em-hsa-amd on 2014/07/15 10:49:45
...
ECR #333753 - Compiler Lib: Added Phases info print to stdout
[Reason]: unobviousness when running on different stacks with different options. As a result the reported error logs will always contain this missing info.
Works only for !OPENCL_MAINLINE.
Works on online & offline paths.
[Example]:
aoc2 -march=hsail -mdevice=Bonaire -cl-std=CL2.0 HelloWorld_Kernel_cl.cl
Advanced Micro Devices Inc. OpenCL Compiler
Compiler Version: 3 size: 320
Architecture: hsail Family: CI Device: Bonaire
Compiling CL Source: HelloWorld_Kernel_cl.cl
Input: HelloWorld_Kernel_cl.cl Output: HelloWorld_Kernel_cl.bin
Options:
-cl-std=CL2.0
//// added with the change:
Phase: OCLFEToSPIR, FE: ClangOCLFrontend, Arch: hsail, OpenCL version: CL2.0
Phase: OCLLinkPhase, Arch: hsail, OpenCL version: CL2.0
Phase: GPUOptPhase, Arch: hsail, OpenCL version: CL2.0
Phase: CodegenPhase, Arch: hsail, OpenCL version: CL2.0
Phase: HSAILAsmPhase, Arch: hsail, OpenCL version: CL2.0
////
The binary was compiled for {hsail-CI-Bonaire}.
Compiler log:
Saving binary to HelloWorld_Kernel_cl.bin.
[Testing]: smoke, smoke_clang, pre check-in
[Reviewer]: Leonid Lobachev
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#36 edit
[ROCm/clr commit: 4663600f35 ]
2014-07-15 10:56:51 -04:00
foreman
29010ae79f
P4 to Git Change 1054428 by yaxunl@yaxunl_stg_win50 on 2014/07/11 11:42:03
...
ECR #377625 - Allow function call for function with internal linkage.
Internal linkage correponds to static function in C. The function could be large and should be allowed to be not inlined.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#106 edit
[ROCm/clr commit: 00cd00cbee ]
2014-07-11 11:51:37 -04:00
foreman
f80f2f233c
initial commit
...
[ROCm/clr commit: 3694ab2ce8 ]
2014-07-04 16:17:05 -04:00