76333 Commits

Author SHA1 Message Date
foreman 7f8d708ca9 P4 to Git Change 1086362 by emankov@em-hsa-amd on 2014/10/10 10:40:16
ECR #333753 - Performance: Stop obligatory BRIG disassembling to HSAIL

	[Important]: HSAIL is not being disassembled from BRIG and not being inserted into BIF anymore by default.

	Testing: pre check-in, smoke_clang

	Reviewers: Stanislav Mekhanoshin, Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#60 edit
2014-10-10 11:10:24 -04:00
foreman bf319c8d1a P4 to Git Change 1086296 by emankov@em-hsa-amd on 2014/10/10 07:46:11
ECR #333753 - HSA RT/Performance: Elimination of HSAIL text usage in RT (part 2)

	(as it's already done for gpuprogram.cpp)

	Extracting HSAIL from the binary and parsing it for the kernel names in RT were replaced with aclQueryInfo call for RT_KERNEL_NAMES. Kernel names are obtained now from the corresponding metadata symbols names, which are already presented in BIF at kernel finalization stage.

	Side effect: performance improvement

	Next Step: Performance: Stop obligatory BRIG disassembling to HSAIL and insertion into BIF (previously was needed only by RT).

	testing: pre check-in

	Reviewers: Stanislav Mekhanoshin, German Andryeyev, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaprogram.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.cpp#6 edit


[ROCm/clr commit: 3e74ee1f88]
2014-10-10 07:57:34 -04:00
foreman 3e74ee1f88 P4 to Git Change 1086296 by emankov@em-hsa-amd on 2014/10/10 07:46:11
ECR #333753 - HSA RT/Performance: Elimination of HSAIL text usage in RT (part 2)

	(as it's already done for gpuprogram.cpp)

	Extracting HSAIL from the binary and parsing it for the kernel names in RT were replaced with aclQueryInfo call for RT_KERNEL_NAMES. Kernel names are obtained now from the corresponding metadata symbols names, which are already presented in BIF at kernel finalization stage.

	Side effect: performance improvement

	Next Step: Performance: Stop obligatory BRIG disassembling to HSAIL and insertion into BIF (previously was needed only by RT).

	testing: pre check-in

	Reviewers: Stanislav Mekhanoshin, German Andryeyev, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaprogram.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.cpp#6 edit
2014-10-10 07:57:34 -04:00
foreman 022e9a259c P4 to Git Change 1086232 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/10 03:04:05
EPR #010002 - Change OpenCL version number from 1655 to 1656.

Affected files ...

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


[ROCm/clr commit: 94be44eaae]
2014-10-10 03:22:00 -04:00
foreman 94be44eaae P4 to Git Change 1086232 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/10 03:04:05
EPR #010002 - Change OpenCL version number from 1655 to 1656.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1402 edit
2014-10-10 03:22:00 -04:00
foreman 3cea973490 P4 to Git Change 1085721 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/09 03:00:12
EPR #010002 - Change OpenCL version number from 1654 to 1655.

Affected files ...

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


[ROCm/clr commit: ea12251885]
2014-10-09 03:14:36 -04:00
foreman ea12251885 P4 to Git Change 1085721 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/09 03:00:12
EPR #010002 - Change OpenCL version number from 1654 to 1655.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1401 edit
2014-10-09 03:14:36 -04:00
foreman f69e0bb393 P4 to Git Change 1085627 by lmoriche@lmoriche_opencl_dev on 2014/10/08 20:00:03
ECR #304775 - Revert the change from Khronos that adds a const qualifier to cl_kernel_sub_group_info

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#13 edit


[ROCm/clr commit: 1a77c97dfe]
2014-10-08 20:05:24 -04:00
foreman 1a77c97dfe P4 to Git Change 1085627 by lmoriche@lmoriche_opencl_dev on 2014/10/08 20:00:03
ECR #304775 - Revert the change from Khronos that adds a const qualifier to cl_kernel_sub_group_info

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#15 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#13 edit
2014-10-08 20:05:24 -04:00
foreman 6a4158360a P4 to Git Change 1085620 by lmoriche@lmoriche_opencl_dev on 2014/10/08 19:17:11
ECR #304775 - Fix the build broken by CL#1085562

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#12 edit


[ROCm/clr commit: ae7cdaba95]
2014-10-08 19:29:54 -04:00
foreman ae7cdaba95 P4 to Git Change 1085620 by lmoriche@lmoriche_opencl_dev on 2014/10/08 19:17:11
ECR #304775 - Fix the build broken by CL#1085562

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#12 edit
2014-10-08 19:29:54 -04:00
foreman b649a57c6e P4 to Git Change 1085562 by lmoriche@lmoriche_opencl_dev on 2014/10/08 17:02:49
EPR #010005 - SVN update 2014-10-07 (r28472).

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.h#19 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#11 integrate


[ROCm/clr commit: f6c5fabf6a]
2014-10-08 17:24:38 -04:00
foreman f6c5fabf6a P4 to Git Change 1085562 by lmoriche@lmoriche_opencl_dev on 2014/10/08 17:02:49
EPR #010005 - SVN update 2014-10-07 (r28472).

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.h#19 integrate
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#11 integrate
2014-10-08 17:24:38 -04:00
foreman 484dff16aa P4 to Git Change 1085454 by yaxunl@yaxunl_stg_win50 on 2014/10/08 13:47:11
EPR #407056, #407061, #406980 - Back out changelist 1083545 since it causes a bunch of perf degradations. Will add a heurstics for -scras=2 for memory bound kernels only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#118 edit


[ROCm/clr commit: d853eb5ebb]
2014-10-08 13:56:22 -04:00
foreman d853eb5ebb P4 to Git Change 1085454 by yaxunl@yaxunl_stg_win50 on 2014/10/08 13:47:11
EPR #407056, #407061, #406980 - Back out changelist 1083545 since it causes a bunch of perf degradations. Will add a heurstics for -scras=2 for memory bound kernels only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#118 edit
2014-10-08 13:56:22 -04:00
foreman e34143e323 P4 to Git Change 1085416 by emankov@em-hsa-amd on 2014/10/08 11:37:27
ECR #333753 - Compiler Lib: Compilation from ACL_TYPE_HSAIL_TEXT fix

	+ Make HSAIL compilation work from aclSOURCE section also (as it was) besides aclCODEGEN
	+ Refactoring, simplification & annotating of if_aclCompile() function

	Testing: smoke_clang, pre check-in, aoc2 tests (not integrated yet)

	Reviewers: Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#54 edit


[ROCm/clr commit: 3c475679ba]
2014-10-08 12:12:00 -04:00
foreman 3c475679ba P4 to Git Change 1085416 by emankov@em-hsa-amd on 2014/10/08 11:37:27
ECR #333753 - Compiler Lib: Compilation from ACL_TYPE_HSAIL_TEXT fix

	+ Make HSAIL compilation work from aclSOURCE section also (as it was) besides aclCODEGEN
	+ Refactoring, simplification & annotating of if_aclCompile() function

	Testing: smoke_clang, pre check-in, aoc2 tests (not integrated yet)

	Reviewers: Brian Sumner, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#54 edit
2014-10-08 12:12:00 -04:00
foreman e6c40cb647 P4 to Git Change 1085204 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/08 03:00:12
EPR #010002 - Change OpenCL version number from 1653 to 1654.

Affected files ...

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


[ROCm/clr commit: f59973500f]
2014-10-08 03:12:45 -04:00
foreman f59973500f P4 to Git Change 1085204 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/08 03:00:12
EPR #010002 - Change OpenCL version number from 1653 to 1654.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1400 edit
2014-10-08 03:12:45 -04:00
foreman 1a00469d76 P4 to Git Change 1085099 by gandryey@gera-dev-w7 on 2014/10/07 18:11:56
ECR #304775 - Restore OPENCL_VERISON check

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#468 edit


[ROCm/clr commit: 9623b491e9]
2014-10-07 18:30:34 -04:00
foreman 9623b491e9 P4 to Git Change 1085099 by gandryey@gera-dev-w7 on 2014/10/07 18:11:56
ECR #304775 - Restore OPENCL_VERISON check

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#468 edit
2014-10-07 18:30:34 -04:00
foreman 12b3bf3094 P4 to Git Change 1084962 by gandryey@gera-dev-w7 on 2014/10/07 14:25:46
ECR #304775 - Remove GPU_PREALLOC_ADDR_SPACE key
	- Previously the key was used for 64bit ISA testing on boards with <4GB frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#114 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#467 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#289 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#215 edit


[ROCm/clr commit: e706ca4c91]
2014-10-07 14:36:41 -04:00
foreman e706ca4c91 P4 to Git Change 1084962 by gandryey@gera-dev-w7 on 2014/10/07 14:25:46
ECR #304775 - Remove GPU_PREALLOC_ADDR_SPACE key
	- Previously the key was used for 64bit ISA testing on boards with <4GB frame buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#114 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#467 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#289 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#88 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#215 edit
2014-10-07 14:36:41 -04:00
foreman 302c6e0f6f P4 to Git Change 1084822 by emankov@em-hsa-amd on 2014/10/07 06:53:10
ECR #333753 - new tests are added to ocltst -m oclcomplib -t OCLRTGetInfo

	tests on aclQueryInfo for:
	RT_KERNEL_NAMES, RT_CONTAINS_LLVMIR, RT_CONTAINS_OPTIONS, RT_CONTAINS_BRIG, RT_CONTAINS_HSAIL, RT_CONTAINS_ISA

	+ query for RT_CONTAINS_HSAIL is fixed in Compiler Lib: looking for symbol symHSAILText instead of section aclCODEGEN, because aclCODEGEN section may contain also symOpenclMeta, symOpenclKernel, symOpenclStub besides symHSAILText.

	Testing: pre check-in, ocltst -m oclcomplib

	Reviewer: Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclrtGetInfo.cpp#16 edit


[ROCm/clr commit: 99fdc9adbb]
2014-10-07 07:04:03 -04:00
foreman 99fdc9adbb P4 to Git Change 1084822 by emankov@em-hsa-amd on 2014/10/07 06:53:10
ECR #333753 - new tests are added to ocltst -m oclcomplib -t OCLRTGetInfo

	tests on aclQueryInfo for:
	RT_KERNEL_NAMES, RT_CONTAINS_LLVMIR, RT_CONTAINS_OPTIONS, RT_CONTAINS_BRIG, RT_CONTAINS_HSAIL, RT_CONTAINS_ISA

	+ query for RT_CONTAINS_HSAIL is fixed in Compiler Lib: looking for symbol symHSAILText instead of section aclCODEGEN, because aclCODEGEN section may contain also symOpenclMeta, symOpenclKernel, symOpenclStub besides symHSAILText.

	Testing: pre check-in, ocltst -m oclcomplib

	Reviewer: Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclrtGetInfo.cpp#16 edit
2014-10-07 07:04:03 -04:00
foreman cef8182af7 P4 to Git Change 1084765 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/07 03:00:13
EPR #010002 - Change OpenCL version number from 1652 to 1653.

Affected files ...

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


[ROCm/clr commit: 4bdac403d2]
2014-10-07 03:13:01 -04:00
foreman 4bdac403d2 P4 to Git Change 1084765 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/07 03:00:13
EPR #010002 - Change OpenCL version number from 1652 to 1653.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1399 edit
2014-10-07 03:13:01 -04:00
foreman fc21e5cd42 P4 to Git Change 1084700 by ericz@fl_ericz3 on 2014/10/06 18:17:12
EPR #365147 - OGL - VI Bringup Support

	Change include of si_ci_merged header to si_ci_vi_merged header since the si_ci ones are out of date and will be removed shortly.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/5980/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#25 edit


[ROCm/clr commit: c4338bb327]
2014-10-06 18:33:20 -04:00
foreman c4338bb327 P4 to Git Change 1084700 by ericz@fl_ericz3 on 2014/10/06 18:17:12
EPR #365147 - OGL - VI Bringup Support

	Change include of si_ci_merged header to si_ci_vi_merged header since the si_ci ones are out of date and will be removed shortly.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/5980/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#25 edit
2014-10-06 18:33:20 -04:00
foreman e8aea07078 P4 to Git Change 1084677 by xcui@merged_opencl_jxcwin on 2014/10/06 17:48:09
EPR #406328 - made more changes so that the OpenCL can run 2.0 devices on the first 2.0 capable device and OpenCL 1.2 on the rest of devices if they can suppport. Also uncommented an assert accidently commted by the previous check in.
	this is the OpenCL part of checkin.

	Prechecking:
	http://ocltc.amd.com:8111/viewModification.html?modId=40944&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	code review:
	http://ocltc.amd.com/reviews/r/5987/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#31 edit


[ROCm/clr commit: 5451d80ccb]
2014-10-06 17:58:11 -04:00
foreman 5451d80ccb P4 to Git Change 1084677 by xcui@merged_opencl_jxcwin on 2014/10/06 17:48:09
EPR #406328 - made more changes so that the OpenCL can run 2.0 devices on the first 2.0 capable device and OpenCL 1.2 on the rest of devices if they can suppport. Also uncommented an assert accidently commted by the previous check in.
	this is the OpenCL part of checkin.

	Prechecking:
	http://ocltc.amd.com:8111/viewModification.html?modId=40944&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	code review:
	http://ocltc.amd.com/reviews/r/5987/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#31 edit
2014-10-06 17:58:11 -04:00
foreman a904ee09f9 P4 to Git Change 1084677 by xcui@merged_opencl_jxcwin on 2014/10/06 17:48:09
EPR #406328 - made more changes so that the OpenCL can run 2.0 devices on the first 2.0 capable device and OpenCL 1.2 on the rest of devices if they can suppport. Also uncommented an assert accidently commted by the previous check in.
	this is the OpenCL part of checkin.

	Prechecking:
	http://ocltc.amd.com:8111/viewModification.html?modId=40944&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	code review:
	http://ocltc.amd.com/reviews/r/5987/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#31 edit


[ROCm/clr commit: 4390727621]
2014-10-06 17:58:11 -04:00
foreman 4390727621 P4 to Git Change 1084677 by xcui@merged_opencl_jxcwin on 2014/10/06 17:48:09
EPR #406328 - made more changes so that the OpenCL can run 2.0 devices on the first 2.0 capable device and OpenCL 1.2 on the rest of devices if they can suppport. Also uncommented an assert accidently commted by the previous check in.
	this is the OpenCL part of checkin.

	Prechecking:
	http://ocltc.amd.com:8111/viewModification.html?modId=40944&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	code review:
	http://ocltc.amd.com/reviews/r/5987/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#288 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#31 edit
2014-10-06 17:58:11 -04:00
foreman ae4ea8dfe5 P4 to Git Change 1084465 by emankov@em-hsa-amd on 2014/10/06 10:30:04
ECR #333753 - Compiler Lib/RT/Performance: Replace aclExtractSymbol/Section with aclQueryInfo for symbol/section detection.

	The replaced calls in RT previously performed actual extraction of the sections from the BIF with memory allocation and copying. But what is needed in fact is only to determine whether the section exists in BIF or not to make a further decision on needed recompilations. With aclQueryInfo and new added enums RT_CONTAINS_LLVMIR, RT_CONTAINS_OPTIONS, RT_CONTAINS_BRIG, RT_CONTAINS_HSAIL, RT_CONTAINS_ISA Runtime starts querying not the whole sections but the bool flag which indicates the existance of the corresponding section(s) without any memory allocations. Every compilation on RT starting from LLVMIR is affected by the change including compilation of blit kernels.

	Side Effects: performance improvement, memory consumption reduction

	Testing: pre check-in, ocl conformance (api, basic, compiler), ocltst complib

	Reviewers: Brian Sumner, German Andryeyev, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#180 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#38 edit


[ROCm/clr commit: 936e8f603d]
2014-10-06 10:41:24 -04:00
foreman 936e8f603d P4 to Git Change 1084465 by emankov@em-hsa-amd on 2014/10/06 10:30:04
ECR #333753 - Compiler Lib/RT/Performance: Replace aclExtractSymbol/Section with aclQueryInfo for symbol/section detection.

	The replaced calls in RT previously performed actual extraction of the sections from the BIF with memory allocation and copying. But what is needed in fact is only to determine whether the section exists in BIF or not to make a further decision on needed recompilations. With aclQueryInfo and new added enums RT_CONTAINS_LLVMIR, RT_CONTAINS_OPTIONS, RT_CONTAINS_BRIG, RT_CONTAINS_HSAIL, RT_CONTAINS_ISA Runtime starts querying not the whole sections but the bool flag which indicates the existance of the corresponding section(s) without any memory allocations. Every compilation on RT starting from LLVMIR is affected by the change including compilation of blit kernels.

	Side Effects: performance improvement, memory consumption reduction

	Testing: pre check-in, ocl conformance (api, basic, compiler), ocltst complib

	Reviewers: Brian Sumner, German Andryeyev, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#180 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#38 edit
2014-10-06 10:41:24 -04:00
foreman 861e1fbebd P4 to Git Change 1084308 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/04 03:00:12
EPR #010002 - Change OpenCL version number from 1651 to 1652.

Affected files ...

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


[ROCm/clr commit: 91f9b36376]
2014-10-04 03:13:27 -04:00
foreman 91f9b36376 P4 to Git Change 1084308 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/10/04 03:00:12
EPR #010002 - Change OpenCL version number from 1651 to 1652.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1398 edit
2014-10-04 03:13:27 -04:00
foreman d33f062a8e P4 to Git Change 1084301 by xcui@merged_opencl_jxcwin on 2014/10/03 21:15:33
EPR #406328 - changed the device open algorithm so that the we only open the first OpenCL device. This is the OPENCL runtime changes, but this will be removed once we implemented multiple device support for SVM.

	the code review and precheckin test:
	http://ocltc.amd.com/reviews/r/5942/
	http://ocltc.amd.com:8111/viewModification.html?modId=40902&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#466 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#287 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/cal.h#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#40 edit


[ROCm/clr commit: c248f04970]
2014-10-03 21:28:36 -04:00
foreman c248f04970 P4 to Git Change 1084301 by xcui@merged_opencl_jxcwin on 2014/10/03 21:15:33
EPR #406328 - changed the device open algorithm so that the we only open the first OpenCL device. This is the OPENCL runtime changes, but this will be removed once we implemented multiple device support for SVM.

	the code review and precheckin test:
	http://ocltc.amd.com/reviews/r/5942/
	http://ocltc.amd.com:8111/viewModification.html?modId=40902&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#466 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#287 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/include/cal/cal.h#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#40 edit
2014-10-03 21:28:36 -04:00
foreman 68dcf2f2d5 P4 to Git Change 1084288 by xcui@merged_opencl_jxcwin on 2014/10/03 20:10:38
EPR #397491 - fixed the temporary directory under windows system directory issue  for windows, because apps couldn't write into C:\windows directory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#41 edit


[ROCm/clr commit: 794dc568be]
2014-10-03 20:19:00 -04:00
foreman 794dc568be P4 to Git Change 1084288 by xcui@merged_opencl_jxcwin on 2014/10/03 20:10:38
EPR #397491 - fixed the temporary directory under windows system directory issue  for windows, because apps couldn't write into C:\windows directory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#41 edit
2014-10-03 20:19:00 -04:00
foreman 20cf4f0620 P4 to Git Change 1084233 by rili@rili_opencl_stg on 2014/10/03 18:05:50
EPR #406832 - Fixed wrong retuen value of numSupportedFormats when flag=CL_MEM_KERNEL_READ_AND_WRITE

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#111 edit


[ROCm/clr commit: e83684f5b0]
2014-10-03 19:04:39 -04:00
foreman e83684f5b0 P4 to Git Change 1084233 by rili@rili_opencl_stg on 2014/10/03 18:05:50
EPR #406832 - Fixed wrong retuen value of numSupportedFormats when flag=CL_MEM_KERNEL_READ_AND_WRITE

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#111 edit
2014-10-03 19:04:39 -04:00
foreman fa028155f0 P4 to Git Change 1084060 by asalmanp@asalmanp-opencl-stg1 on 2014/10/03 14:05:34
EPR #394115 - Enabling Fiji on mainline as Hoatzin. The true name will be exposed later on mainline.
	ReviewURLBoard = http://ocltc.amd.com/reviews/r/5975/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil64.h#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#113 edit


[ROCm/clr commit: 7e0edf09cd]
2014-10-03 14:27:23 -04:00
foreman 7e0edf09cd P4 to Git Change 1084060 by asalmanp@asalmanp-opencl-stg1 on 2014/10/03 14:05:34
EPR #394115 - Enabling Fiji on mainline as Hoatzin. The true name will be exposed later on mainline.
	ReviewURLBoard = http://ocltc.amd.com/reviews/r/5975/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_9/target_mappings_amdil64.h#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#113 edit
2014-10-03 14:27:23 -04:00
foreman d0138943e2 P4 to Git Change 1083967 by gandryey@gera-dev-w7 on 2014/10/03 11:20:24
ECR #304775 - Fix for BUG#10330.
	- Add an optimized version for unaligned buffer copy

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsablit.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsablit.cpp#5 edit


[ROCm/clr commit: bfc41a18dd]
2014-10-03 12:04:15 -04:00
foreman bfc41a18dd P4 to Git Change 1083967 by gandryey@gera-dev-w7 on 2014/10/03 11:20:24
ECR #304775 - Fix for BUG#10330.
	- Add an optimized version for unaligned buffer copy

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#111 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsablit.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsablit.cpp#5 edit
2014-10-03 12:04:15 -04:00
foreman 644fad9055 P4 to Git Change 1083881 by emankov@em-hsa-amd on 2014/10/03 05:37:42
ECR #333753 - Compiler Lib: fix for Android build

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#12 edit


[ROCm/clr commit: 7cd16dddbb]
2014-10-03 05:48:22 -04:00
foreman 7cd16dddbb P4 to Git Change 1083881 by emankov@em-hsa-amd on 2014/10/03 05:37:42
ECR #333753 - Compiler Lib: fix for Android build

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#12 edit
2014-10-03 05:48:22 -04:00
foreman d269b8b8fc P4 to Git Change 1083876 by emankov@em-hsa-amd on 2014/10/03 04:25:16
ECR #333753 - HSA RT/Compiler Lib/Performance: Elimination of HSAIL text usage in RT

	Extracting HSAIL from the binary and parsing it for the kernel names in RT were replaced with aclQueryInfo call for RT_KERNEL_NAMES.
	Kernel names are obtained now from the corresponding metadata symbols names, which are already presented in BIF at kernel finalization stage.

	Side effect: performance improvement

	Next Step: Performance: elimination of BRIG disassembling to HSAIL as obligatory stage in Compiler Lib (previously was needed only by RT).

	Testing: pre check-in, ocl conformnace 2.0 (basic, api, compiler, workgroups, device_execution)

	Reviewers: Stanislav Mekhanoshin, German Andryeyev, Brian Sumner

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#266 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#179 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#37 edit


[ROCm/clr commit: f7c2190e63]
2014-10-03 04:30:34 -04:00