Commit Graph

6 Commits

Author SHA1 Message Date
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 00cd00cbee 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
2014-07-11 11:51:37 -04:00
foreman 3694ab2ce8 initial commit 2014-07-04 16:17:05 -04:00