76333 Commits

Author SHA1 Message Date
foreman c57ef1bb5b P4 to Git Change 1174141 by vpykhtin@vpykhtin-HSA on 2015/07/27 08:36:29
ECR #333753 - HSA HLC: --denorms-f32-are-zero flag support

	Testing: smoke, presubmit

	Reviewed by Brian Sumner, Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#119 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/llc/opt/intrinsics/flush-denorms.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#38 edit
2015-07-27 08:46:17 -04:00
foreman ac5d9cb83e P4 to Git Change 1173981 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/25 03:00:12
EPR #010002 - Change OpenCL version number from 1855 to 1856.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1602 edit


[ROCm/clr commit: 00c67fb024]
2015-07-25 03:12:14 -04:00
foreman 00c67fb024 P4 to Git Change 1173981 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/25 03:00:12
EPR #010002 - Change OpenCL version number from 1855 to 1856.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1602 edit
2015-07-25 03:12:14 -04:00
foreman 083a28b94f P4 to Git Change 1173703 by emankov@em-hsa-amd on 2015/07/24 11:22:49
ECR #333753 - Compiler Lib/aoc2: AMD HSA Code Object Import feature

	Works only in case of whole compilation from the source CL to ISA. Doesn't work for -srctoir, -irtocg, -cgtoisa as meaningless.
	Importing occurs instead of finalization.

	To use offline by aoc2:
	aoc2 -hsacodeobject=<importing_code_object_filename> -cl-std=CL2.0 -march=hsail(-64) -mdevice=Bonaire <source_cl_filename>

	To use online by setting env:
	AMD_DEBUG_HSA_CODE_OBJECT_INPUT=<importing_code_object_filename>

	Misc:
	+ fix a few aoc2 bugs & typos
	+ readFile/writeFile functions duplication removal
	+ std::getenv instead of :getenv (ToDo: :putenv -> std::system in separate change)
	+ fix memory leak in hsail_be.cpp on CodeObject

	Testing: pre checin, ursa.pl -t complib -M hsacodeobject

	Reviewers: Nikolay Haustov, Brian Sumner

	http://ocltc.amd.com/reviews/r/8058/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/MDParser/Main.cxx#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#14 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/aoc2/hsacodeobject/hsacodeobject.1.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/aoc2/hsacodeobject/hsacodeobject.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#7 edit


[ROCm/clr commit: 580eb5f852]
2015-07-24 11:35:14 -04:00
foreman 580eb5f852 P4 to Git Change 1173703 by emankov@em-hsa-amd on 2015/07/24 11:22:49
ECR #333753 - Compiler Lib/aoc2: AMD HSA Code Object Import feature

	Works only in case of whole compilation from the source CL to ISA. Doesn't work for -srctoir, -irtocg, -cgtoisa as meaningless.
	Importing occurs instead of finalization.

	To use offline by aoc2:
	aoc2 -hsacodeobject=<importing_code_object_filename> -cl-std=CL2.0 -march=hsail(-64) -mdevice=Bonaire <source_cl_filename>

	To use online by setting env:
	AMD_DEBUG_HSA_CODE_OBJECT_INPUT=<importing_code_object_filename>

	Misc:
	+ fix a few aoc2 bugs & typos
	+ readFile/writeFile functions duplication removal
	+ std::getenv instead of :getenv (ToDo: :putenv -> std::system in separate change)
	+ fix memory leak in hsail_be.cpp on CodeObject

	Testing: pre checin, ursa.pl -t complib -M hsacodeobject

	Reviewers: Nikolay Haustov, Brian Sumner

	http://ocltc.amd.com/reviews/r/8058/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/MDParser/Main.cxx#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#14 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/aoc2/hsacodeobject/hsacodeobject.1.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/src/complib/aoc2/hsacodeobject/hsacodeobject.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#7 edit
2015-07-24 11:35:14 -04:00
foreman e61a89c3eb P4 to Git Change 1173572 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/24 03:00:11
EPR #010002 - Change OpenCL version number from 1854 to 1855.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1601 edit


[ROCm/clr commit: 6414ddb4b6]
2015-07-24 03:07:04 -04:00
foreman 6414ddb4b6 P4 to Git Change 1173572 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/24 03:00:11
EPR #010002 - Change OpenCL version number from 1854 to 1855.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1601 edit
2015-07-24 03:07:04 -04:00
Flora Cui fc4e07daa3 Add interface to set CU mask
Signed-off-by: Flora Cui <flora.cui@amd.com>
Acked-by: Ben Goz <ben.goz@amd.com>
2015-07-23 15:44:01 +08:00
Flora Cui 0f0e28cbdb Add interface to set CU mask
Signed-off-by: Flora Cui <flora.cui@amd.com>
Acked-by: Ben Goz <ben.goz@amd.com>


[ROCm/ROCR-Runtime commit: fc4e07daa3]
2015-07-23 15:44:01 +08:00
foreman 7f9962c557 P4 to Git Change 1173085 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/23 03:00:13
EPR #010002 - Change OpenCL version number from 1853 to 1854.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1600 edit


[ROCm/clr commit: 97160a65fe]
2015-07-23 03:13:20 -04:00
foreman 97160a65fe P4 to Git Change 1173085 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/23 03:00:13
EPR #010002 - Change OpenCL version number from 1853 to 1854.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1600 edit
2015-07-23 03:13:20 -04:00
foreman 039161e7dd P4 to Git Change 1172995 by gandryey@gera-w8 on 2015/07/22 18:43:35
ECR #304775 - Remove unused headers for the old d3d9 interop in winxp.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/extern/udx/d3d/calif.h#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/extern/udx/d3d/d3dshaderdefs.h#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/extern/udx/d3d/fourcc.h#2 delete


[ROCm/clr commit: 8bc2d4f33c]
2015-07-22 18:52:33 -04:00
foreman 8bc2d4f33c P4 to Git Change 1172995 by gandryey@gera-w8 on 2015/07/22 18:43:35
ECR #304775 - Remove unused headers for the old d3d9 interop in winxp.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/extern/udx/d3d/calif.h#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/extern/udx/d3d/d3dshaderdefs.h#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/extern/udx/d3d/fourcc.h#2 delete
2015-07-22 18:52:33 -04:00
foreman 26e71c62a8 P4 to Git Change 1172952 by gandryey@gera-w8 on 2015/07/22 16:50:10
ECR #304775 - Remove mmd pdb files from the tree

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdcore.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdcorecal.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlbarts.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcaicos.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcayman.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcedar.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcypress.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwljuniper.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlkong.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlllano.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlontario.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlr600.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlredwood.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrs780.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrs880.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv610.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv630.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv670.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv710.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv730.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv770.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlsi_tahiti_p.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwltrinity.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlturks.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdcore.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdcorecal.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlbarts.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcaicos.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcayman.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcedar.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcypress.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwljuniper.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlkong.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlllano.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlontario.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlr600.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlredwood.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrs780.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrs880.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv610.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv630.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv670.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv710.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv730.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv770.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlsi_tahiti_p.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwltrinity.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlturks.pdb#2 delete


[ROCm/clr commit: d3f0ddafea]
2015-07-22 17:01:42 -04:00
foreman d3f0ddafea P4 to Git Change 1172952 by gandryey@gera-w8 on 2015/07/22 16:50:10
ECR #304775 - Remove mmd pdb files from the tree

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdcore.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdcorecal.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlbarts.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcaicos.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcayman.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcedar.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlcypress.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwljuniper.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlkong.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlllano.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlontario.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlr600.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlredwood.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrs780.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrs880.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv610.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv630.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv670.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv710.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv730.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlrv770.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlsi_tahiti_p.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwltrinity.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win32/mmdhwlturks.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdcore.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdcorecal.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlbarts.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcaicos.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcayman.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcedar.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlcypress.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwljuniper.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlkong.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlllano.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlontario.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlr600.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlredwood.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrs780.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrs880.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv610.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv630.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv670.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv710.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv730.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlrv770.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlsi_tahiti_p.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwltrinity.pdb#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/promotions/video/win64a/mmdhwlturks.pdb#2 delete
2015-07-22 17:01:42 -04:00
foreman c5e08e61a8 P4 to Git Change 1172711 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/22 03:00:14
EPR #010002 - Change OpenCL version number from 1852 to 1853.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1599 edit


[ROCm/clr commit: 92ec01f82d]
2015-07-22 03:15:52 -04:00
foreman 92ec01f82d P4 to Git Change 1172711 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/22 03:00:14
EPR #010002 - Change OpenCL version number from 1852 to 1853.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1599 edit
2015-07-22 03:15:52 -04:00
foreman 3f56c0272c P4 to Git Change 1172541 by jgolds@jgolds_MSDNfractal5_opencl_stg3 on 2015/07/21 17:34:16
EPR #419313 - Fix capitilization of included file.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#314 edit


[ROCm/clr commit: a49bf5c3c6]
2015-07-21 17:47:49 -04:00
foreman a49bf5c3c6 P4 to Git Change 1172541 by jgolds@jgolds_MSDNfractal5_opencl_stg3 on 2015/07/21 17:34:16
EPR #419313 - Fix capitilization of included file.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#314 edit
2015-07-21 17:47:49 -04:00
Moses Reuben 29c083f695 adding support for scratch memory
Signed-off-by: Moses Reuben <moses.reuben@amd.com>
2015-07-21 16:43:23 +03:00
Moses Reuben 9faf7b957c adding support for scratch memory
Signed-off-by: Moses Reuben <moses.reuben@amd.com>


[ROCm/ROCR-Runtime commit: 29c083f695]
2015-07-21 16:43:23 +03:00
foreman dbf50b1809 P4 to Git Change 1172269 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/21 03:00:41
EPR #010002 - Change OpenCL version number from 1851 to 1852.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1598 edit


[ROCm/clr commit: a74423708a]
2015-07-21 03:15:30 -04:00
foreman a74423708a P4 to Git Change 1172269 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/21 03:00:41
EPR #010002 - Change OpenCL version number from 1851 to 1852.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1598 edit
2015-07-21 03:15:30 -04:00
foreman 6cc05e63b6 P4 to Git Change 1172127 by dhirajk@dhirajk_fl-dhirajk-tst on 2015/07/20 16:34:29
EPR #394700 - SubAllocation Scheme for ConstantBuffers Implemented in GLL.

	This CL introduces sub-allocation for constant buffer for all Asics and currently supported by GLL, it can easily be opted in by OpenCL, OES as well.

	OpenCL changes for Sub-allocation scheme for constantbuffers. For more info please see CL#1172125

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#126 edit


[ROCm/clr commit: 05f236ee54]
2015-07-20 16:52:29 -04:00
foreman 05f236ee54 P4 to Git Change 1172127 by dhirajk@dhirajk_fl-dhirajk-tst on 2015/07/20 16:34:29
EPR #394700 - SubAllocation Scheme for ConstantBuffers Implemented in GLL.

	This CL introduces sub-allocation for constant buffer for all Asics and currently supported by GLL, it can easily be opted in by OpenCL, OES as well.

	OpenCL changes for Sub-allocation scheme for constantbuffers. For more info please see CL#1172125

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#126 edit
2015-07-20 16:52:29 -04:00
foreman 50a811fa61 P4 to Git Change 1171733 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/18 03:00:19
EPR #010002 - Change OpenCL version number from 1850 to 1851.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1597 edit


[ROCm/clr commit: 3439abb55a]
2015-07-18 03:14:35 -04:00
foreman 3439abb55a P4 to Git Change 1171733 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/18 03:00:19
EPR #010002 - Change OpenCL version number from 1850 to 1851.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1597 edit
2015-07-18 03:14:35 -04:00
foreman dacc6487bb P4 to Git Change 1171714 by marsenau@marsenau_home on 2015/07/17 19:29:59
ECR #304775 - First batch of build fixes for clang.

	Fixes hard source errors and a handful of simple warnings, but leaves most other warnings for later. Other errors not fixed here are from adding compile flags that are not understood.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lCommon.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#162 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#289 edit


[ROCm/clr commit: 5b3ecedc9b]
2015-07-17 19:50:05 -04:00
foreman 5b3ecedc9b P4 to Git Change 1171714 by marsenau@marsenau_home on 2015/07/17 19:29:59
ECR #304775 - First batch of build fixes for clang.

	Fixes hard source errors and a handful of simple warnings, but leaves most other warnings for later. Other errors not fixed here are from adding compile flags that are not understood.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clc/src/e2lCommon.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#162 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#289 edit
2015-07-17 19:50:05 -04:00
foreman e6739a6ac6 P4 to Git Change 1171462 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/17 03:00:12
EPR #010002 - Change OpenCL version number from 1849 to 1850.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1596 edit


[ROCm/clr commit: 0767cbd2e6]
2015-07-17 03:43:16 -04:00
foreman 0767cbd2e6 P4 to Git Change 1171462 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/17 03:00:12
EPR #010002 - Change OpenCL version number from 1849 to 1850.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1596 edit
2015-07-17 03:43:16 -04:00
foreman d300051de0 P4 to Git Change 1171095 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/16 03:00:48
EPR #010002 - Change OpenCL version number from 1848 to 1849.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1595 edit


[ROCm/clr commit: fc727295b7]
2015-07-17 01:24:04 -04:00
foreman fc727295b7 P4 to Git Change 1171095 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/16 03:00:48
EPR #010002 - Change OpenCL version number from 1848 to 1849.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1595 edit
2015-07-17 01:24:04 -04:00
foreman 0d39f6af80 P4 to Git Change 1171338 by gandryey@gera-dev-w7 on 2015/07/16 17:12:56
ECR #304775 - Remove the obsolete code

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#513 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/calcl.h#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#125 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#49 edit


[ROCm/clr commit: e3e54cabd9]
2015-07-16 21:38:11 -04:00
foreman e3e54cabd9 P4 to Git Change 1171338 by gandryey@gera-dev-w7 on 2015/07/16 17:12:56
ECR #304775 - Remove the obsolete code

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#513 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/calcl.h#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLContext.h#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#125 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#49 edit
2015-07-16 21:38:11 -04:00
foreman 6b29a5b136 P4 to Git Change 1171240 by yaxunl@yaxunl_stg_win50 on 2015/07/16 13:34:30
ECR #304775 - Cleanup IL_OP_SIN and IL_OP_COS since SC will remove them. Remove f16 tests from ocltst NativeFuncs tests since f16 support has been removed from AMDIL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILEnumeratedTypes.td#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILInstructions.td#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILIntrinsics.td#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/compiler/NativeFuncs/native_funcs_macro.h#63 edit


[ROCm/clr commit: 5b5c78b4e6]
2015-07-16 19:45:00 -04:00
foreman 5b5c78b4e6 P4 to Git Change 1171240 by yaxunl@yaxunl_stg_win50 on 2015/07/16 13:34:30
ECR #304775 - Cleanup IL_OP_SIN and IL_OP_COS since SC will remove them. Remove f16 tests from ocltst NativeFuncs tests since f16 support has been removed from AMDIL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILEnumeratedTypes.td#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILInstructions.td#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILIntrinsics.td#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/compiler/NativeFuncs/native_funcs_macro.h#63 edit
2015-07-16 19:45:00 -04:00
foreman 7714e26cdd P4 to Git Change 1170805 by nhaustov@nhaustov_hsa on 2015/07/15 10:59:34
ECR #333756 - Fix missing add of offset in ORCAHSALoaderContext::SegmentAddress.

	Testing: pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#195 edit


[ROCm/clr commit: 7ab78d6db2]
2015-07-16 08:30:58 -04:00
foreman 7ab78d6db2 P4 to Git Change 1170805 by nhaustov@nhaustov_hsa on 2015/07/15 10:59:34
ECR #333756 - Fix missing add of offset in ORCAHSALoaderContext::SegmentAddress.

	Testing: pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#195 edit
2015-07-16 08:30:58 -04:00
foreman 8a06dc83be P4 to Git Change 1170681 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/15 03:01:18
EPR #010002 - Change OpenCL version number from 1847 to 1848.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1594 edit


[ROCm/clr commit: a77efe9b88]
2015-07-16 01:01:43 -04:00
foreman a77efe9b88 P4 to Git Change 1170681 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/15 03:01:18
EPR #010002 - Change OpenCL version number from 1847 to 1848.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1594 edit
2015-07-16 01:01:43 -04:00
foreman b040a6e77a P4 to Git Change 1170297 by nhaustov@nhaustov_hsa on 2015/07/14 05:36:10
ECR #333753 - ORCA RT/Compiler Lib: HSA Code Object/RT independent loader introducing/integration into OpenCL.

	Changes by Evgeniy Mankov.

	       Purpose:
	       Use the same Finalizer & loader for both HSA & ORCA RT.
	       AMDIL path is not affected.

	       Changes:
	       1. The whole BRIG is finalized now instead of per kernel finalization (both in gpuprogram & hsail_be).
	       2. HSALoader is changed in order to work with CodeObject and new HSA Loader's API <96> Context. Now it is in ORCA<92>s gpuprogram instead of Compiler Lib.
	       3. brig_loader.cpp is removed from compiler lib, as well as __aclHSALoader function exports from the whole stack.
	       4. BIF .text section now contains the whole finalized HSA CodeObject instead of separate symbols for finalized kernels.
	       5. ORCA RT now works directly with amd_kernel_code_t and doesn't need any SC metadata anymore.
	       6. aoc2 is supplemented with fake offline loader correspondingly.
	       7. amdocl/complib make sytem changes.
	       8. test_driver.pl update.

	       ToDo:
	       1. Implement disassemble() & BuildLog() functions to support ISA dumping & SC error handling (Konstantin).
	       2. Global variables initialization by pragma reference (Konstantin). Test to verify: test_basic progvar_prog_scope_init.
	       3. Code Object without kernels support (Nikolay - ready). Test to verify: test_generic_address_space.exe library_function

	       testing: windows smoke, pre check-in, ocl conformance 2.0, ocl SDK 2.9

	       Reviewers: Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#116 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.def.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.map.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#85 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#368 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#12 edit


[ROCm/clr commit: e8d712389d]
2015-07-14 17:08:54 -04:00
foreman e8d712389d P4 to Git Change 1170297 by nhaustov@nhaustov_hsa on 2015/07/14 05:36:10
ECR #333753 - ORCA RT/Compiler Lib: HSA Code Object/RT independent loader introducing/integration into OpenCL.

	Changes by Evgeniy Mankov.

	       Purpose:
	       Use the same Finalizer & loader for both HSA & ORCA RT.
	       AMDIL path is not affected.

	       Changes:
	       1. The whole BRIG is finalized now instead of per kernel finalization (both in gpuprogram & hsail_be).
	       2. HSALoader is changed in order to work with CodeObject and new HSA Loader's API <96> Context. Now it is in ORCA<92>s gpuprogram instead of Compiler Lib.
	       3. brig_loader.cpp is removed from compiler lib, as well as __aclHSALoader function exports from the whole stack.
	       4. BIF .text section now contains the whole finalized HSA CodeObject instead of separate symbols for finalized kernels.
	       5. ORCA RT now works directly with amd_kernel_code_t and doesn't need any SC metadata anymore.
	       6. aoc2 is supplemented with fake offline loader correspondingly.
	       7. amdocl/complib make sytem changes.
	       8. test_driver.pl update.

	       ToDo:
	       1. Implement disassemble() & BuildLog() functions to support ISA dumping & SC error handling (Konstantin).
	       2. Global variables initialization by pragma reference (Konstantin). Test to verify: test_basic progvar_prog_scope_init.
	       3. Code Object without kernels support (Nikolay - ready). Test to verify: test_generic_address_space.exe library_function

	       testing: windows smoke, pre check-in, ocl conformance 2.0, ocl SDK 2.9

	       Reviewers: Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#116 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.def.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.map.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#85 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#368 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#12 edit
2015-07-14 17:08:54 -04:00
foreman c3872376e8 P4 to Git Change 1170297 by nhaustov@nhaustov_hsa on 2015/07/14 05:36:10
ECR #333753 - ORCA RT/Compiler Lib: HSA Code Object/RT independent loader introducing/integration into OpenCL.

	Changes by Evgeniy Mankov.

	       Purpose:
	       Use the same Finalizer & loader for both HSA & ORCA RT.
	       AMDIL path is not affected.

	       Changes:
	       1. The whole BRIG is finalized now instead of per kernel finalization (both in gpuprogram & hsail_be).
	       2. HSALoader is changed in order to work with CodeObject and new HSA Loader's API <96> Context. Now it is in ORCA<92>s gpuprogram instead of Compiler Lib.
	       3. brig_loader.cpp is removed from compiler lib, as well as __aclHSALoader function exports from the whole stack.
	       4. BIF .text section now contains the whole finalized HSA CodeObject instead of separate symbols for finalized kernels.
	       5. ORCA RT now works directly with amd_kernel_code_t and doesn't need any SC metadata anymore.
	       6. aoc2 is supplemented with fake offline loader correspondingly.
	       7. amdocl/complib make sytem changes.
	       8. test_driver.pl update.

	       ToDo:
	       1. Implement disassemble() & BuildLog() functions to support ISA dumping & SC error handling (Konstantin).
	       2. Global variables initialization by pragma reference (Konstantin). Test to verify: test_basic progvar_prog_scope_init.
	       3. Code Object without kernels support (Nikolay - ready). Test to verify: test_generic_address_space.exe library_function

	       testing: windows smoke, pre check-in, ocl conformance 2.0, ocl SDK 2.9

	       Reviewers: Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#116 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.def.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.map.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#85 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#368 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#12 edit


[ROCm/clr commit: 8cc3f47661]
2015-07-14 17:08:54 -04:00
foreman 8cc3f47661 P4 to Git Change 1170297 by nhaustov@nhaustov_hsa on 2015/07/14 05:36:10
ECR #333753 - ORCA RT/Compiler Lib: HSA Code Object/RT independent loader introducing/integration into OpenCL.

	Changes by Evgeniy Mankov.

	       Purpose:
	       Use the same Finalizer & loader for both HSA & ORCA RT.
	       AMDIL path is not affected.

	       Changes:
	       1. The whole BRIG is finalized now instead of per kernel finalization (both in gpuprogram & hsail_be).
	       2. HSALoader is changed in order to work with CodeObject and new HSA Loader's API <96> Context. Now it is in ORCA<92>s gpuprogram instead of Compiler Lib.
	       3. brig_loader.cpp is removed from compiler lib, as well as __aclHSALoader function exports from the whole stack.
	       4. BIF .text section now contains the whole finalized HSA CodeObject instead of separate symbols for finalized kernels.
	       5. ORCA RT now works directly with amd_kernel_code_t and doesn't need any SC metadata anymore.
	       6. aoc2 is supplemented with fake offline loader correspondingly.
	       7. amdocl/complib make sytem changes.
	       8. test_driver.pl update.

	       ToDo:
	       1. Implement disassemble() & BuildLog() functions to support ISA dumping & SC error handling (Konstantin).
	       2. Global variables initialization by pragma reference (Konstantin). Test to verify: test_basic progvar_prog_scope_init.
	       3. Code Object without kernels support (Nikolay - ready). Test to verify: test_generic_address_space.exe library_function

	       testing: windows smoke, pre check-in, ocl conformance 2.0, ocl SDK 2.9

	       Reviewers: Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#116 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.def.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/amdoclcl.map.in#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/build/Makefile.gpu#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#85 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/build/Makefile.aoc2#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#121 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#194 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#368 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#12 edit
2015-07-14 17:08:54 -04:00
foreman 3d35b53ac7 P4 to Git Change 1170263 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/14 03:01:04
EPR #010002 - Change OpenCL version number from 1846 to 1847.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1593 edit


[ROCm/clr commit: f5a5e0b375]
2015-07-14 12:32:06 -04:00
foreman f5a5e0b375 P4 to Git Change 1170263 by johtaylo@johtaylo-JTBUILDER03-increment on 2015/07/14 03:01:04
EPR #010002 - Change OpenCL version number from 1846 to 1847.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1593 edit
2015-07-14 12:32:06 -04:00
foreman 06b7785be1 P4 to Git Change 1170017 by kebai@kebai-lnx-desktop on 2015/07/13 14:12:55
ECR #304775 - Back out CL 1170011

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/cache.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/cache.hpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/amdil_be.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#125 edit
... //depot/stg/opencl/drivers/opencl/tests/kcache/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/build/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/build/Makefile.kcache#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/kCacheTest_std.txt#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/kernel.cl#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/main.cpp#2 delete


[ROCm/clr commit: 5637f52e00]
2015-07-13 18:17:22 -04:00
foreman 5637f52e00 P4 to Git Change 1170017 by kebai@kebai-lnx-desktop on 2015/07/13 14:12:55
ECR #304775 - Back out CL 1170011

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/cache.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/cache.hpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/amdil_be.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#125 edit
... //depot/stg/opencl/drivers/opencl/tests/kcache/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/build/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/build/Makefile.kcache#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/kCacheTest_std.txt#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/kernel.cl#2 delete
... //depot/stg/opencl/drivers/opencl/tests/kcache/main.cpp#2 delete
2015-07-13 18:17:22 -04:00
foreman 509bd691bb P4 to Git Change 1170011 by kebai@kebai-lnx-desktop on 2015/07/13 13:47:29
ECR #304775 - Bug 10752 kernel caching feature (AMDIL and HSAIL path)
	1. For the stage we want to cache, call getCacheEntry() followed by makeCacheEntry() if the get fails; otherwise directly return cached data.
	a. Each device have a separate cache directory
	b. It logs caching errors, so we can debug the cache and/or detect collisions
	2. Implementeded cache size tracking, so we can evict old data when cache files are too large
	3. Added file/path access permission control on both windows and linux
	4. Have read/write file lock protection
	5. -kcache-disable flag can be used to turn on/off the caching functionality
	6. AMD_FORCE_KCACHE_TEST env variable is used for internal testing

	TO DO:
	1. Tracking of timestamps for cache entries
	-LRU eviction when cache grows too large
	2. Track cache entries per application

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/cache.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/cache.hpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend_clang.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/amdil_be.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#124 edit
... //depot/stg/opencl/drivers/opencl/tests/kcache/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/tests/kcache/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/tests/kcache/build/Makefile.kcache#1 add
... //depot/stg/opencl/drivers/opencl/tests/kcache/kCacheTest_std.txt#1 add
... //depot/stg/opencl/drivers/opencl/tests/kcache/kernel.cl#1 add
... //depot/stg/opencl/drivers/opencl/tests/kcache/main.cpp#1 add


[ROCm/clr commit: 4b6f2324d0]
2015-07-13 18:11:44 -04:00