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
S
Opis
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Pozostałe 1.1%