foreman
587b069737
P4 to Git Change 1063520 by kanarayan@kanarayan-ubun-stream on 2014/08/06 15:03:51
...
ECR #333753 - RS compilation path.
RS compilation will be in 2 stages, first generates BRIG and the next is done via HSA Finalize API (that involves a load step).
Existing code in compiler/lib has a bug in that when the final output expected is HSAIL_BINARY, compilation should stop with invoking the llvm compiler (and the built-in assembler), not go all the way to ISA.
Tests: precheckin, hsa smoke
hsa/tests/RS/ test harness will be changed in a separate changelist.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#57 edit
2014-08-06 15:13:39 -04:00
foreman
3eca90a7db
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
2014-07-23 13:54:37 -04:00
foreman
f57b7f8c29
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
2014-07-23 08:27:56 -04:00
foreman
cb89c1fe5a
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
2014-07-18 20:37:25 -04:00
foreman
45497b47dd
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
2014-07-18 06:05:30 -04:00
foreman
4798473034
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
2014-07-17 08:03:17 -04:00
foreman
4663600f35
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
2014-07-15 10:56:51 -04:00
foreman
3694ab2ce8
initial commit
2014-07-04 16:17:05 -04:00