4663600f3580347ffa3711128b724891475cde65
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
説明
説明が提供されていません
言語
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
その他
1.1%