نمودار کامیت

66 کامیت‌ها

مولف SHA1 پیام تاریخ
foreman 2eecd93036 P4 to Git Change 1523412 by emankov@em-hsa on 2018/03/06 13:28:34
SWDEV-143465 - HSAIL - Compiler Lib - sync with legacy AMDIL libUtils

	Sync with CL 1522654 (AMDIL)

	[Reason] New Utility functions will be used in the upcomming changes in HSAIL path.

	[Testing] p4precheckin (clean): http://ocltc.amd.com:8111/viewModification.html?modId=98811&personal=true&init=1&tab=vcsModificationBuilds

	[Reviewd] by Stas: http://ocltc.amd.com/reviews/r/14345

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#31 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#73 edit


[ROCm/clr commit: 119cedf0e6]
2018-03-06 13:43:26 -05:00
foreman accd125fd0 P4 to Git Change 1522654 by emankov@em-hsa on 2018/03/05 11:45:44
SWDEV-143465 - AMDIL - Compiler Lib - Mark as unsupported all CI+ targets

	1. Mark all CI+ targets as unsupported for AMDIL target mappings.
	2. Let aclGetTargetInfo, aclGetTargetInfoFromChipID, aclGetDeviceInfo to report unsupported chips.
	3. Fix aclReadFromMem in order to early determination of the target of binary in memory and reporting ACL_INVALID_TARGET if target is invalid, or ACL_UNSUPPORTED if chip is unsupported.
	4. Add utility inline functions IsValidTarget, IsChipSupported, make getTargetMapping inline too, as it is used in the first two.
	5. Fix affected tests.

	[Testing] http://ocltc.amd.com:8111/viewModification.html?modId=98724&personal=true&init=1&tab=vcsModificationBuilds (clean)

	[Reviewed] by Stas (http://ocltc.amd.com/reviews/r/14277)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/api/v0_8/acl.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#45 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIF2xTo3x.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFBase.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFSymbol.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclAPI.cpp#22 edit


[ROCm/clr commit: 354d0df8bd]
2018-03-05 12:00:15 -05:00
foreman fb67f621b8 P4 to Git Change 1515527 by emankov@em-hsa on 2018/02/13 07:35:08
SWDEV-143465 - Fix crashes while mixed work with hsail and amdil (legacy) paths

	Redirect (where it is possible) ACL API calls from HSAIL lib to legacy AMDIL lib if target is AMDIL.
	For those functions (aclCreateFromBinary, aclReadFromMem), where redirect is impossible, explicit loadLibrary for AMDIL lib and call of corresponding function from AMDIL lib is performed.

	[Reviewed] by Stas (http://ocltc.amd.com/reviews/r/14238)

	[Testing] rga offline for all the targets supported by HSAIL and AMDIL (from Family_SI up to Family_VI):
	tahiti, pitcairn, capeverde, spectre, spooky, kalindi, hawaii, oland, bonaire, hainan, carrizo, iceland, tonga, fiji, stoney, baffin, ellesmere.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclValidation.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclValidation.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#30 edit


[ROCm/clr commit: a9ac031e6e]
2018-02-13 07:40:19 -05:00
foreman 823064de6d P4 to Git Change 1506958 by lmoriche@lmoriche_opencl_dev2 on 2018/01/23 19:55:00
SWDEV-1 - Cleanups required to build with gcc-5.4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#173 edit
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/apl.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/apl.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/aplexport.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#29 edit


[ROCm/clr commit: 01c1113f81]
2018-01-23 20:03:32 -05:00
foreman d353a3c562 P4 to Git Change 1486724 by wchau@wchau_OCL_boltzmann on 2017/11/24 17:48:34
SWDEV-139422 - Lexa Linux Support - OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#579 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#66 edit


[ROCm/clr commit: 88936eb203]
2017-11-24 17:58:22 -05:00
foreman 8fe66c7ee2 P4 to Git Change 1452726 by asalmanp@asalmanp-ocl-stg on 2017/08/29 11:55:13
SWDEV-79278 - adding missing Vega12 IDs
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13357/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#44 edit


[ROCm/clr commit: 037a4a70cc]
2017-08-29 12:04:09 -04:00
foreman 67e05cf08b P4 to Git Change 1450441 by asalmanp@asalmanp-ocl-stg on 2017/08/22 17:11:11
SWDEV-79278 - adding support for Vega12/Vega20/Navi10
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13326/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#156 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#52 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#148 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#568 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#352 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#180 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#19 edit


[ROCm/clr commit: d7247e104a]
2017-08-23 10:57:45 -05:00
foreman 5d5900f7cf P4 to Git Change 1449513 by skudchad@skudchad_test_win_opencl2 on 2017/08/20 12:41:18
SWDEV-107271 - Add Raven IDs.
	- Refactor PAL backend code

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/libUtils.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#155 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#51 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#39 edit


[ROCm/clr commit: a643fcf3d1]
2017-08-20 12:49:56 -04:00
foreman ccf86da3c9 P4 to Git Change 1448201 by smekhano@stas-nova-hsa on 2017/08/16 19:58:09
SWDEV-121551 - Complib: fix ocltst ACLApi regression after CL 1448141 (HSAIL part)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#46 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#41 edit


[ROCm/clr commit: 6622762df5]
2017-08-16 20:11:30 -04:00
foreman 4df5368e3b P4 to Git Change 1448192 by lmoriche@lmoriche_opencl_dev2 on 2017/08/16 18:31:50
SWDEV-127386 - Revert to HSAIL instead of LC
	- More asic_reg path fixes (remove asic_reg/ prefix)
	- Add LIQUID_FLASH_INCS/LOPTS/LLIBS variables
	- Add HSA_RUNTIME_INCS/LOPTS/LLIBS variables
	- Add ASIC_REG_INCS variable

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#160 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/api/v0_8/aclKstatsr800.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/devState7XX.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/scState7XX.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/devStateEGNI.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scCompile89.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scStateEGNI.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/devStateSI.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/scStateSI.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/devState.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/complibdefs#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclKstatsr800.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#46 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#45 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#40 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#210 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/build/Makefile.gpu#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/build/Makefile.backend#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#23 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#41 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/build/Makefile.spir#17 edit


[ROCm/clr commit: 0196394dcf]
2017-08-16 18:45:30 -04:00
foreman a3594414ed P4 to Git Change 1448141 by smekhano@stas-nova-hsa on 2017/08/16 17:26:46
SWDEV-121551 - Complib: add missing Baffin and Ellesmere chip ids
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#45 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#39 edit


[ROCm/clr commit: 804fab7700]
2017-08-16 17:40:09 -04:00
foreman 6a5a4aa854 P4 to Git Change 1446389 by lmoriche@lmoriche_opencl_dev2 on 2017/08/11 16:56:26
SWDEV-127386 - Revert to HSAIL instead of LC
	- Fixes the asic_reg include files paths.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/api/v0_8/aclKstatsr800.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/devState7XX.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/7XX/scState7XX.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/devStateEGNI.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scCompile89.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/EGNI/scStateEGNI.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/devStateSI.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/scStateSI.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/devState.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/complibdefs#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclKstatsr800.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/complibdefs#51 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#40 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#38 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#22 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#40 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/build/Makefile.spir#16 edit


[ROCm/clr commit: b076dfd8ea]
2017-08-11 17:09:47 -04:00
foreman 11e70960a2 P4 to Git Change 1409878 by lmoriche@lmoriche_palamida on 2017/05/15 19:30:18
SWDEV-121585 - [OCL-LC-ROCm] Merge GitHub pull requests
	- Merged https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/pull/4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#48 edit


[ROCm/clr commit: 0c526a2e0d]
2017-05-15 19:42:30 -04:00
foreman a5aa5566a7 P4 to Git Change 1385569 by wchau@wchau_brahma on 2017/03/14 16:12:25
SWDEV-115692 - Remove Lexa and Polaris 22 support from Linux Pro

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#146 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#564 edit


[ROCm/clr commit: 598d635fc4]
2017-03-14 16:20:13 -04:00
foreman 3fcbe1c281 P4 to Git Change 1358812 by asalmanp@asalmanp-opencl-stg on 2017/01/05 11:55:44
SWDEV-109077 - [Polaris22][OCL] Add Driver Support for Polaris22(gfx8). Polaris22 is yet another new gfx8 ASIC and should follow ELM/BFN/Lexa code path.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/devStateSI.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/devState.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scCompileBase.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/bif/amuabi/amuABI.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDIL.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/AMDILInternalDeviceFlags.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#145 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#562 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#230 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#349 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#179 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#27 edit


[ROCm/clr commit: 978163569f]
2017-01-05 12:05:03 -05:00
foreman f46293289b P4 to Git Change 1357375 by skudchad@skudchad_test_win_opencl2 on 2016/12/27 23:17:06
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	- Add case for gfx901 else target device is incorrect for finalizer

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#23 edit


[ROCm/clr commit: c5bc579945]
2016-12-27 23:24:46 -05:00
foreman a3781fdc69 P4 to Git Change 1357354 by skudchad@skudchad_test_win_opencl2 on 2016/12/27 18:32:01
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	- Fill some missing places with BU details

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#36 edit


[ROCm/clr commit: f17f0ec8a0]
2016-12-27 18:37:15 -05:00
foreman 6515aaf8ad P4 to Git Change 1342976 by todli@todli-win-opencl-kv1 on 2016/11/17 17:13:47
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	Review: http://ocltc.amd.com/reviews/r/11809/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#154 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#40 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#144 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#559 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#348 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#176 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#35 edit


[ROCm/clr commit: 2c6bcfbf8d]
2016-11-17 17:25:47 -05:00
foreman 16e9dca0c7 P4 to Git Change 1329242 by scharupa@scharupa_temp on 2016/10/20 12:06:11
SWDEV-105122 - Changing Baffin, Ellesmere and Lexa ISAtype, it has to be 803

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#21 edit


[ROCm/clr commit: 134c92d3ef]
2016-10-20 12:23:45 -04:00
foreman fc411196c6 P4 to Git Change 1325492 by smekhano@stas-mwamba-rocm on 2016/10/12 12:36:24
SWDEV-104875 - ROCm/HSA: use the finalizer from source tree
	Right now ROCm/HSA uses finalizer from the HSA RT installed.
	This finalizer version has outdated stale SC sources.
	At the same time source tree has fresh finalizer sources matching ORCA.
	The offline tool amdhsafin is built from that sources.
	This change switches from HSA RT finalizer to the in tree finalizer.

	Testing: precheckin
	Reviewed by Laurent Morichetti and Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#39 edit


[ROCm/clr commit: 9385a3778f]
2016-10-12 12:47:16 -04:00
foreman 4f71027ade P4 to Git Change 1322829 by asalmanp@asalmanp-opencl-stg on 2016/10/05 13:35:20
SWDEV-79278 - Expose Lexa as "gfx804" and Vega10 as "gfx900" in mainline.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#35 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#34 edit


[ROCm/clr commit: 926e59ce0b]
2016-10-05 13:47:07 -04:00
foreman 2f60226768 P4 to Git Change 1309875 by smekhano@stas-rampitec-hsa on 2016/09/01 14:11:31
SWDEV-101534 - Lexa bringup: correct capability to 8:0:4 and add complib code
	Testing: smoke, precheckin
	Reviewed by Brian Sumner and Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/devStateSI.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#47 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#10 edit


[ROCm/clr commit: 5787de6741]
2016-09-01 14:20:14 -04:00
foreman 4686a5462b P4 to Git Change 1305063 by asalmanp@asalmanp-opencl-stg on 2016/08/19 14:01:11
SWDEV-79278 - [OpenCL][GFXIP9 Bring up] Exposing Vega10(GFX9_0_0) to mainline using a dummy name "Rabbit" for bring-up.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#151 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#46 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#40 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#140 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#31 edit


[ROCm/clr commit: 8442ad0f7f]
2016-08-19 14:09:05 -04:00
foreman 7ad04dc57c P4 to Git Change 1304101 by asalmanp@asalmanp-opencl-stg on 2016/08/17 16:57:37
SWDEV-79278 - Back out changelist 1303935 due to some failures in TC on Linux 32-bit

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#150 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#45 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#139 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#30 edit


[ROCm/clr commit: d4d59289f1]
2016-08-17 17:03:39 -04:00
foreman b484a49280 P4 to Git Change 1303935 by asalmanp@asalmanp-opencl-stg on 2016/08/17 11:54:31
SWDEV-79278 - [OpenCL][GFXIP9 Bring up] Exposing Vega10(GFX9_0_0) to mainline using a dummy name "Rabbit" for bring-up.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#149 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#29 edit


[ROCm/clr commit: 7e6d6c318b]
2016-08-17 12:03:20 -04:00
foreman 8765b6d785 P4 to Git Change 1300823 by smekhano@stas-nova-hsa on 2016/08/09 15:13:33
SWDEV-100152 - HSA HLC: replace family names with GFX#
	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAIL.h#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAIL.td#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#121 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILSubtarget.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILSubtarget.h#17 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#32 edit


[ROCm/clr commit: c3f326baf2]
2016-08-09 15:31:20 -04:00
foreman 088aa4a518 P4 to Git Change 1295087 by asalmanp@asalmanp-opencl-stg on 2016/07/25 16:08:34
SWDEV-98211 - [Lexa][OCL] Add Lexa Support

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/devState.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scCompileBase.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/bif/amuabi/amuABI.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#43 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDIL.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/AMDILInternalDeviceFlags.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#137 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#549 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#228 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#347 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#170 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#28 edit


[ROCm/clr commit: 8f5943e292]
2016-07-25 16:20:18 -04:00
foreman 4335f720c0 P4 to Git Change 1273450 by smekhano@stas-rampitec-hsa on 2016/05/26 14:04:49
SWDEV-93545 - HSA HLC: target option interface between complib and BE and denorm control refactoring

	Global variables and associated options to control target GPU for optimizations and fp32 denorm support are removed.
	Instead standard llvm -mcpu=<cpu> is used to pass chip family name and fp32 denorm is turned into a subtarget feature.
	Subtarget feature can be set for llc as standard -mattr=+fp32-denormals and corresponding code to pass feature string
	to the BE is added to the compiler lib, mimicing what we used to have for AMDIL.

	Device name HSAIL metadata will now reflect an actual GPU family passed to the HSAIL BE instead of "generic".

	Denorm support can be switched on as a feature bit in the target mapping. It is on starting from VI. However, just
	switching this bit for a family will not produce denorm supporting code. The option -cl-denorms-are-zero can be used
	to override this and runtime passes it for configs where CL_FP_DENORM is not reported.

	Currently CL_FP_DENORM is not reported for any device, however it can be changed with AMD_GPU_FORCE_SINGLE_FP_DENORM
	environment variable. If set it will be honored only starting from VI as set in the target mapping.

	Implemented isFMAFasterThanFMulAndFAdd to handle use of v_fma_f32 on GFX9 instead of a direct chip family check.

	Testing: smoke, precheckin
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#146 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.cpp#155 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/BRIGAsmPrinter.h#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAIL.td#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstrInfo.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstrInfo.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstructions.td#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILKernelManager.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILSubtarget.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILSubtarget.h#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#29 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#97 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_features.tlst#58 edit


[ROCm/clr commit: 712c0c4009]
2016-05-26 14:22:33 -04:00
foreman e3eb243107 P4 to Git Change 1266028 by smekhano@stas-rampitec-hsa on 2016/05/06 13:22:26
SWDEV-93545 - HSA HLC: produce v_fma_f32 instead of v_mad_f32/v_mac_f32 on GFX9 if denorms are supported

	1. Added means to know HW target for HSAIL BE.
	2. Simplified compiler lib logic in handling target capabilities.
	3. Used target info to fuse mul/add into fma_f32 on GFX9.
	Previously it was disabled because mad/mac always flush. v_fma_f32 does not flush,
	but only fast starting with GFX9.

	Testing: smoke, precheckin
	Reviewed by Nikolay Haustov and Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#142 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAIL.h#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILFusion.td#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelDAGToDAG.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILISelLowering.cpp#115 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILInstructions.td#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/llc_opt.tlst#95 edit


[ROCm/clr commit: 4de15fc86f]
2016-05-06 13:39:37 -04:00
foreman 5c6e600d1a P4 to Git Change 1263609 by emankov@em-hsa-amd on 2016/04/29 10:45:48
SWDEV-79309 - Back out changelist 1252154 due to AMDIL regression SWDEV-93034

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/include/v0_8/aclStructs.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/include/v0_8/aclTypes.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclStructs.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclTypes.h#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLAssumptionCheck.cpp#50 edit


[ROCm/clr commit: 89f38b0f7e]
2016-04-29 11:00:59 -04:00
foreman 4a872f29ad P4 to Git Change 1252154 by emankov@em-hsa-amd on 2016/03/29 07:23:56
SWDEV-79309 - Compiler Lib memory consumption decreasing by aclQueryInfo refactoring.

	[Problem] Memcpy on every aclQueryInfo for metadata. As a result an unreasonable memory consumption on every compiled binary (on Runtime).

	[Solution] Once extracted kernel Metadata is cached, secondary extraction doesn't happen. Blits are also affected.

	[Testing] precheckin
	http://ocltc.amd.com:8111/viewModification.html?modId=69016&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewers] Stanislav Mekhanoshin, Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/include/v0_8/aclStructs.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/include/v0_8/aclTypes.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclStructs.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclTypes.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#24 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLAssumptionCheck.cpp#49 edit


[ROCm/clr commit: 511c6a5de8]
2016-03-29 07:35:41 -04:00
foreman cd7a3bed15 P4 to Git Change 1236419 by asalmanp@asalmanp-opencl-stg on 2016/02/11 11:36:16
SWDEV-79278 - [OpenCL][Ellesmere BU] Exposing Ellesmere in mainline for 16.20 release

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#133 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#33 edit


[ROCm/clr commit: c16578eb71]
2016-02-11 11:49:08 -05:00
foreman 85d849e72b P4 to Git Change 1235269 by asalmanp@asalmanp-opencl-stg on 2016/02/08 12:27:46
SWDEV-79278 - [OpenCL][Baffin BU] Exposing Baffin in mainline for 16.20 release
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/8969/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#132 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#32 edit


[ROCm/clr commit: c22b282854]
2016-02-08 12:36:54 -05:00
foreman 01482fd967 P4 to Git Change 1228972 by smekhano@stas-nova-hsa on 2016/01/19 14:21:26
SWDEV-85602 - rename hsail-64 arch to hsail64
	This is to match other existing llvm targets, such as spir64 and amdil64, as well as to match behavior of open source HSAIL BE.
	For legacy users there is alias "-hsail-64" provided in the aoc2 only.

	Testing: smoke, precheckin
	Reviewed by Matthew Arsenault, Evgeny Mankov and Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/codegen.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/frontend.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/codegen.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/frontend.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/HSAILTargetMachine.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Target/HSAIL/TargetInfo/HSAILTargetInfo.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/aacl/aa.h#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/amp_libm/build/Makefile.amp_libm#4 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcn/build/Makefile.gcn#20 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/gcndev/build/Makefile.gcndev#3 edit
... //depot/stg/opencl/drivers/opencl/library/hsa/hsail/build/Makefile.hsail#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#153 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#222 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsacompiler.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/bin/test_driver.pl#25 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/complib.tlst#21 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_debug.tlst#9 edit
... //depot/stg/opencl/drivers/opencl/tests/hsa/tlst/ocl_regression.tlst#25 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRBase.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVBasic.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/spir/SPIRVDropIn.cpp#5 edit


[ROCm/clr commit: 14179df14f]
2016-01-19 14:31:59 -05:00
foreman ae8bbd60ae P4 to Git Change 1226780 by nhaustov@nhaustov_hsa on 2016/01/12 07:20:04
SWDEV-77584 - ORCA RT/Compiler Lib: Add 8:0:4, 8:1:0 and 9:0:1 compute capabilities.

	Changes by Evgeniy Mankov.

	Also cherry-pick CL 1226741 for 8:1:0 compute capability.

	Testing: smoke, pre-checkin

	[Reviewers] Nikolay Haustov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/finalizer/program.cpp#20 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.cpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/loaders.hpp#7 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/tests/tlst/finalizer_offline.tlst#15 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#219 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#63 edit


[ROCm/clr commit: 6a0e72acc5]
2016-01-12 07:27:39 -05:00
foreman a3dfe7e457 P4 to Git Change 1220218 by yaxunl@yaxunl_stg_win50 on 2015/12/11 16:35:30
SWDEV-83705 - [SPIRV] Fix failure in SPIR-V conformance test compile_and_link.

	e_rawfile of elf needs to be updated after LLVM section is inserted into the elf containing SPIR-V.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#215 edit


[ROCm/clr commit: f5acde74f7]
2015-12-11 16:46:21 -05:00
foreman 97b6b58b80 P4 to Git Change 1218642 by ashi1@ashi1_win50 on 2015/12/08 10:02:04
SWDEV-83237 - Remove R800/900 from SC build. Disable EG/NI as supported GPU in compiler library
	SC will soon remove support of R800/900. We need to get ready for it.
	Two thing needs to be done:
	1. update opencldefs to change R800_BUILD and R900_BUILD to 0
	2. update compiler/lib/utils/target_mappings.h and v0_8/target_mappings*.h to disable EG/NI GPUs as not supported.
	Update all ocltsts.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#32 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#165 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIF2xTo3x.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Barts.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_BeaverCreek.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Caicos.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cayman.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cedar.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Cypress.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Devastator.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Juniper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Loveland.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Redwood.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Scrapper.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_Turks.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/bif2x_WinterPark.bin#2 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/build/Makefile.binary#20 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclAPI.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/bif21_Barts.bin#3 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#38 edit


[ROCm/clr commit: dfb086584f]
2015-12-08 10:11:59 -05:00
foreman 1eb0846b70 P4 to Git Change 1206247 by todli@todli-win-opencl-kv1 on 2015/11/01 04:30:43
SWDEV-77307 - OpenCL Stoney BU change: put real name on mainline

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#31 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#130 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#30 edit


[ROCm/clr commit: b85a57a4ae]
2015-11-01 04:35:29 -05:00
foreman fb014423c9 P4 to Git Change 1204812 by nhaustov@nhaustov_hsa on 2015/10/28 09:08:46
SWDEV-79309 - Remove dependency on scwrapper.

	Testing: smoke, pre-checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#12 edit


[ROCm/clr commit: 99906c0e05]
2015-10-28 09:18:54 -04:00
foreman 1508bce03f P4 to Git Change 1202262 by asalmanp@asalmanp-opencl-stg on 2015/10/21 15:36:48
SWDEV-79278 - [OpenCL][Baffin/Ellesmere BU] Exposing Baffin and Ellesmere for bring-up with dummy names. The real device names will be exposed later.
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/8752/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#129 edit


[ROCm/clr commit: 71585bb8cc]
2015-10-21 15:49:55 -04:00
foreman 2c312e03ab P4 to Git Change 1184082 by todli@todli-win-opencl-kv1 on 2015/08/24 20:53:26
EPR #399601 - OpenCL Stoney BU changes: expose on Mainline

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#127 edit


[ROCm/clr commit: 5df531e9c8]
2015-08-24 21:09:49 -04:00
foreman f8bda79654 P4 to Git Change 1182435 by todli@todli-win-opencl-kv1 on 2015/08/19 21:59:39
EPR #399601 - OpenCL Stoney BU changes: hide Stoney name

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#325 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#27 edit


[ROCm/clr commit: 9aa88fe48e]
2015-08-19 22:07:06 -04:00
foreman 5510a5daae P4 to Git Change 1182078 by yaxunl@yaxunl_stg_win50 on 2015/08/19 07:12:32
ECR #354633 - SPIR-V: Add consumption of SPIR-V to HSAIL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#120 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/OpenCL.def.in#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/icd/icd_exports.map.in#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/Makefile#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclValidation.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#90 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/acl.h#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclTypes.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifinternal.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/spirv/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/spirv/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/spirv/build/Makefile.spirv#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/spirv/spirvUtils.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/spirv/spirvUtils.h#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#182 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#250 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#200 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/tests/conformance/devel/2.0/test_conformance/spirv/select.zip#1 add
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.h#4 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclAPI.cpp#20 edit


[ROCm/clr commit: 773ffef7d2]
2015-08-19 07:28:56 -04:00
foreman 8f0e25ef3e P4 to Git Change 1180763 by todli@todli-win-opencl-kv1 on 2015/08/14 22:54:27
EPR #399601 - OpenCL Stoney BU changes

	Reviewed by: Jeff, Brian, Saleel

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/scwrapper/devState.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#27 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#18 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDIL.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/AMDILInternalDeviceFlags.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/InternalProcessors.td#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#518 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#323 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/math/OCLMathFunc.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#23 edit


[ROCm/clr commit: ae1fa5ae2f]
2015-08-14 23:09:39 -04:00
foreman fb2d2a6358 P4 to Git Change 1178107 by emankov@em-hsa-amd on 2015/08/07 09:05:47
ECR #333753 - Compiler Lib: switch Bif Version to 3.1 by default for HSAIL

	It is needed due to the latest AMD HSA Code Object introduction in BIF.

	TODO (in separate changes):
	1. Analyze the changes in sections/symbols and remove (if needed) unused anymore (in BIF31), for example, symISAMeta, check backward compatibility.
	2. Move the bif versions/conversions code from libUtils to loader\Bif.
	3. Refactor the bif versions/conversions code in order to get rid of copy/paste (templates?).
	4. Drop aclBIFVersionCAL.

	Testing: pre check-in

	Reviewer: Brian Sumner, Nikolay Haustov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif20.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif20.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif21.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif21.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif30.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif30.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif31.cpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bif31.hpp#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/bifbase.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/bif_section_labels.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFAssumptionCheck.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFAssumptionCheck.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#45 edit


[ROCm/clr commit: e54e8da337]
2015-08-07 09:11:37 -04:00
foreman 4355623d0b P4 to Git Change 1177220 by emankov@em-hsa-amd on 2015/08/05 06:08:39
ECR #333753 - ORCA RT/Compiler Lib/aoc2: AMD HSA Code Object Import feature (part II) - arbitrary hidden (extra) kernargs support

	Only HSAIL path is affected. It doesn't affect blit kernels.

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

	To use online by setting env:
	AMD_DEBUG_HSA_NUM_HIDDEN_KERNARGS=<num>

	where num >= 0. If num == 0, then no additional arguments will be added on RT for every kernel. The default value is unchanged and equal to 6 for now.

	Misc:
	+ get rid of PRE & POST defines in Compiler Lib, as they started to conflict with ugl\gl\gs\hwl\ headers with the same defines.
	+ minor copy/paste eliminations & typo fixes
	+ ocltst complib tests update

	Testing: pre check-in, manually based on ocl sdk MatrixMultiplication

	Reviewers: Brian Sumner, German Andryeyev, Nikolay Haustov, Artem Tamazov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/metadata.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclDefs.h#5 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclEnums.h#19 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclStructs.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/bif_section_labels.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/aoc2/aoc2.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#181 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#249 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#291 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#199 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#369 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa/hsaprogram.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsakernel.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsakernel.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsaprogram.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/hsa_foundation/hsavirtual.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLAssumptionCheck.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#44 edit


[ROCm/clr commit: 81b331f4c5]
2015-08-05 06:18:33 -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 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 3bda566e7b P4 to Git Change 1151052 by emankov@em-hsa-amd on 2015/05/14 15:16:47
ECR #333753 - Compiler Lib/RT: libutils.h usage removal due to non-API interface

	Utils are to be used only by Compiler Lib itself.

	Testing: pre checkin

	Reviewers: German Andryeyev, Brian Sumner, Yaxun Liu

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#178 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#193 edit


[ROCm/clr commit: 1c5ee64101]
2015-05-14 15:28:01 -04:00
foreman 4987d6d527 P4 to Git Change 1146222 by emankov@em-hsa-amd on 2015/04/30 10:04:18
ECR #333753 - Compiler Lib: 0_7 API removal

	1) 0_7 API is totally removed from both legacy and non-legacy paths;
	2) Bug 9641 - "tests on Compiler Lib (ocltst complib) should be refactored in order to use ACL API 0.8 instead of old 0.7" - fixed;
	3) Side effect: pre-checkin testing cut down = 30% (from 14284 to 9918) =>
	   It looks like that we can add actually needed testing (for example, smoke on Win) instead of meaningless testing of the unused and abandoned API.

	Testing: pre-checkin

	Reviewers: Brian Sumner, Stanislav Mekhanoshin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.def.in#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/amdocl.map.in#14 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#110 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.def.in#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/amdoclcl.map.in#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/Makefile#12 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/Compilerbuiltin.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/LLVMbuiltin.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/Makefile#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/SCbuiltin.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/amdil.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/build/Makefile#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/build/Makefile.apiv07#11 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/clCompiler.cpp#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/gpuisa.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/hsail.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/llvm.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/ocl.cpp#8 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/rt.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_7/x86.cpp#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/library.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/build/Makefile.complib#81 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/amdil.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/api_defs.h#4 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/clCompiler.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/clTypes.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/gpuisa.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/hsail.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/llvm.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/ocl.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/CompilerLoader.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/LLVMLoader.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/SCLoader.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/interfaces/amdil.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/interfaces/gpuisa.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/interfaces/hsail.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/interfaces/llvm.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/interfaces/ocl.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/interfaces/rt.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/plugins/interfaces/x86.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/rt.h#3 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_7/x86.h#2 delete
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_8/aclDefs.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/include/v0_9/aclTypes.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFBasic.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFIterator.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLAssumptionCheck.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLCompiler.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLCompilerTst.h#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLElf.cpp#11 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLElf.h#6 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLEnumCheck.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLTargetInfo.cpp#28 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/CLTargetInfo.h#4 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/TestList.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclAPI.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/aclCompat.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/build/Makefile.complib#34 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompLayer.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompLayer.h#3 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileBinary.cpp#11 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileBinary.h#6 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileCGToISA.cpp#10 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileCGToISA.h#5 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileIRToCG.cpp#9 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileIRToCG.h#4 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileSource.cpp#23 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileSource.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileSourceToIR.cpp#6 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompileSourceToIR.h#4 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompilerFini.cpp#9 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompilerFini.h#5 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompilerInit.cpp#9 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompilerInit.h#5 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompilerVersion.cpp#9 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclCompilerVersion.h#5 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclExtractSection.cpp#16 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclExtractSection.h#8 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclExtractSymbol.cpp#13 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclExtractSymbol.h#6 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclGetCompilerLog.cpp#15 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclGetCompilerLog.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclInsertSection.cpp#10 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclInsertSection.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclInsertSymbol.cpp#12 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclInsertSymbol.h#6 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclVersionSize.cpp#9 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclVersionSize.h#5 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilCompileBinary.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilCompileBinary.h#8 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilCompileSource.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilCompileSource.h#7 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilConvertType.cpp#10 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilConvertType.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilRetrieveType.cpp#12 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilRetrieveType.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilSetType.cpp#14 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclilSetType.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclisaDisassemble.cpp#13 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclisaDisassemble.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclisaGetBinaryBlob.cpp#10 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclisaGetBinaryBlob.h#7 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclrtGetInfo.cpp#17 delete
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/complib/oclrtGetInfo.h#3 delete


[ROCm/clr commit: 9e45ef67cb]
2015-04-30 10:10:28 -04:00