Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
foreman a9fd476121 P4 to Git Change 1137080 by emankov@em-hsa-amd on 2015/04/02 11:25:06
ECR #333753 - HSA HLC: disabling calls in Debug Mode (-g -O0) online in Compiler Lib

	Also fixes EPR 415634 non_uniform_1d_basic (from ocl conformance 2.0) failed: could not demangle group variable name resultsForThread0;
	Offline (opt -O0) calls are already disabled.

	Testing: pre-checkin, smoke, non_uniform_work_group

	Reviewers: Stanislav Mekhanoshin, Daniil Fukalov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#24 edit
2015-04-02 11:41:26 -04:00
foreman 5f67b5bb68 P4 to Git Change 1135916 by smekhano@stas-nova-hsa on 2015/03/30 18:31:55
ECR #333753 - TargetMachine is created not only for codegen, but for optimizer as well
	This is to provide target specific optimizations in the intermediate optimizer.
	LLVM 3.6 provides TargetTransformInfo for this purpose which requires TargetMachine.
	No correctness issues will occur if TargetInfo is not created, but optmizations will target generic machine.

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/optimizer.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#16 edit
2015-03-30 18:39:55 -04:00
foreman d09c098f87 P4 to Git Change 1125734 by emankov@em-hsa-amd on 2015/02/27 07:53:34
ECR #333753 - HSA HLC/Compiler Lib: Fix which restores global option HLC_Disable_Amd_Inline_All to false after switching stack HSAIL -> AMDIL on RT.

	Also it fixes ocl 20 conformance basic subtests (readimage, writeimage) failed on enabling calls (-hsail-enable-calls), where such switching takes place.

	Testing: smoke, precheck-in

	Reviewer: Daniil Fukalov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#22 edit
2015-02-27 08:24:42 -05:00
foreman 3faaeb958f P4 to Git Change 1082704 by smekhano@rampitec-HSA on 2014/09/30 09:39:56
ECR #333753 - HSA HLC: decouple hsail inlining options and threshold from amdil/cpu
	This allows selective enablement of the feature and selective tuning of the threshold depending on the target.

	Testing: smoke, smoke_clang, precheckin
	Reviewed by Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO/AMDOptOptions.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDOptOptions.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#21 edit
2014-09-30 09:56:12 -04:00
foreman 3694ab2ce8 initial commit 2014-07-04 16:17:05 -04:00