Граф коммитов
64512 Коммитов
Автор SHA1 Сообщение Дата
Maneesh Gupta ecbb701440 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support

[ROCm/clr commit: eee7fa6072]
2018-03-09 11:50:30 +05:30
Maneesh Gupta eee7fa6072 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support
2018-03-09 11:50:30 +05:30
Maneesh Gupta 52506ef382 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support

[ROCm/hip commit: 18e70b1e6b]
2018-03-09 11:50:30 +05:30
Maneesh Gupta 18e70b1e6b Merge pull request #363 from gargrahul/surface_object_api
Added surface object support
2018-03-09 11:50:30 +05:30
foreman 4ae1c708f2 P4 to Git Change 1524674 by gandryey@gera-w8 on 2018/03/08 17:26:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove pinOffset_ field, since the pinning offset can be combined with global offset_ field

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#16 edit


[ROCm/clr commit: 953d3c86e0]
2018-03-08 17:37:53 -05:00
foreman 953d3c86e0 P4 to Git Change 1524674 by gandryey@gera-w8 on 2018/03/08 17:26:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove pinOffset_ field, since the pinning offset can be combined with global offset_ field

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#16 edit
2018-03-08 17:37:53 -05:00
foreman 3d4652b8a3 P4 to Git Change 1524559 by asalmanp@asalmanp-ocl-stg on 2018/03/08 14:18:24
SWDEV-132899 - [gfx10][OCL]- Adding support for forcing WaveSize32 from runtime for testing on gfx10 HW emulator

	Motivation: During testing ocltst on Windows on PAL/HSAIL/SC path on gfx10 HW emulator, it was found that SC uses WaveSize64 by default for compute kernels.
	SC also has an interface that can be used for forcing the WaveSize to 32 or 64.

	- Adding the "-force-wave-size-32" into compiler to be passed down to Finalizer/SC
	- Adding environment variable "GPU_FORCE_WAVE_SIZE_32" that can be used from runtime to force WaveSize32 compilation in HSAIL/SC path

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#284 edit


[ROCm/clr commit: 3c0e80074b]
2018-03-08 14:26:17 -05:00
foreman 3c0e80074b P4 to Git Change 1524559 by asalmanp@asalmanp-ocl-stg on 2018/03/08 14:18:24
SWDEV-132899 - [gfx10][OCL]- Adding support for forcing WaveSize32 from runtime for testing on gfx10 HW emulator

	Motivation: During testing ocltst on Windows on PAL/HSAIL/SC path on gfx10 HW emulator, it was found that SC uses WaveSize64 by default for compute kernels.
	SC also has an interface that can be used for forcing the WaveSize to 32 or 64.

	- Adding the "-force-wave-size-32" into compiler to be passed down to Finalizer/SC
	- Adding environment variable "GPU_FORCE_WAVE_SIZE_32" that can be used from runtime to force WaveSize32 compilation in HSAIL/SC path

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#284 edit
2018-03-08 14:26:17 -05:00
foreman 81f89ea671 P4 to Git Change 1524286 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/08 03:00:06
SWDEV-2 - Change OpenCL version number from 2606 to 2607.

Affected files ...

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


[ROCm/clr commit: 5bec004355]
2018-03-08 03:14:05 -05:00
foreman 5bec004355 P4 to Git Change 1524286 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/08 03:00:06
SWDEV-2 - Change OpenCL version number from 2606 to 2607.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2354 edit
2018-03-08 03:14:05 -05:00
foreman f45c2eb542 P4 to Git Change 1524135 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/07 19:52:00
SWDEV-145570 - [HIP] Hip Rearchitecture
	Implemented hipHostAlloc

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#5 edit


[ROCm/clr commit: 336d1e589c]
2018-03-07 20:03:36 -05:00
foreman 336d1e589c P4 to Git Change 1524135 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/07 19:52:00
SWDEV-145570 - [HIP] Hip Rearchitecture
	Implemented hipHostAlloc

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#5 edit
2018-03-07 20:03:36 -05:00
foreman 798d68d6e5 P4 to Git Change 1524135 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/07 19:52:00
SWDEV-145570 - [HIP] Hip Rearchitecture
	Implemented hipHostAlloc

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#5 edit


[ROCm/hip commit: f99db275fe]
2018-03-07 20:03:36 -05:00
foreman f99db275fe P4 to Git Change 1524135 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/07 19:52:00
SWDEV-145570 - [HIP] Hip Rearchitecture
	Implemented hipHostAlloc

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#5 edit
2018-03-07 20:03:36 -05:00
Evgeny f423e5f486 cosmetic change
Change-Id: I871e8260643a4409f7a471ea1575e9bb0a505f7f
2018-03-07 18:45:33 -06:00
Evgeny a900f3eda4 cosmetic change
Change-Id: I871e8260643a4409f7a471ea1575e9bb0a505f7f


[ROCm/rocprofiler commit: f423e5f486]
2018-03-07 18:45:33 -06:00
foreman 4cb43aeb3e P4 to Git Change 1524071 by gandryey@gera-w8 on 2018/03/07 17:26:30
SWDEV-147487 - DX9/DX11 texture and OpenCL interop for YUY2
	- Enable YUY2 support for DX11 and DX9. YUY2 contains just one plane of interleaved Y0UY1V components and can be mapped to (CL_RGBA, CL_UNSIGNED_INT8) with image width reduced by 2. YUY2 provides better quality due to 16bit data per pixel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#49 edit


[ROCm/clr commit: ac8d2437d0]
2018-03-07 17:35:30 -05:00
foreman ac8d2437d0 P4 to Git Change 1524071 by gandryey@gera-w8 on 2018/03/07 17:26:30
SWDEV-147487 - DX9/DX11 texture and OpenCL interop for YUY2
	- Enable YUY2 support for DX11 and DX9. YUY2 contains just one plane of interleaved Y0UY1V components and can be mapped to (CL_RGBA, CL_UNSIGNED_INT8) with image width reduced by 2. YUY2 provides better quality due to 16bit data per pixel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#49 edit
2018-03-07 17:35:30 -05:00
foreman 7f5373020f P4 to Git Change 1524071 by gandryey@gera-w8 on 2018/03/07 17:26:30
SWDEV-147487 - DX9/DX11 texture and OpenCL interop for YUY2
	- Enable YUY2 support for DX11 and DX9. YUY2 contains just one plane of interleaved Y0UY1V components and can be mapped to (CL_RGBA, CL_UNSIGNED_INT8) with image width reduced by 2. YUY2 provides better quality due to 16bit data per pixel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#49 edit


[ROCm/clr commit: fd3644ee58]
2018-03-07 17:35:30 -05:00
foreman fd3644ee58 P4 to Git Change 1524071 by gandryey@gera-w8 on 2018/03/07 17:26:30
SWDEV-147487 - DX9/DX11 texture and OpenCL interop for YUY2
	- Enable YUY2 support for DX11 and DX9. YUY2 contains just one plane of interleaved Y0UY1V components and can be mapped to (CL_RGBA, CL_UNSIGNED_INT8) with image width reduced by 2. YUY2 provides better quality due to 16bit data per pixel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#241 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#49 edit
2018-03-07 17:35:30 -05:00
foreman 5c7a90b284 P4 to Git Change 1523996 by wchau@wchau_OCL_boltzmann on 2018/03/07 16:08:29
SWDEV-146839 - OCL 2.0 WF - Contractions test encounters failure on Raven
	- root cause: subnormals should be enabled for Raven (gfx902)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#32 edit


[ROCm/clr commit: c65580a1f6]
2018-03-07 16:14:25 -05:00
foreman c65580a1f6 P4 to Git Change 1523996 by wchau@wchau_OCL_boltzmann on 2018/03/07 16:08:29
SWDEV-146839 - OCL 2.0 WF - Contractions test encounters failure on Raven
	- root cause: subnormals should be enabled for Raven (gfx902)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#32 edit
2018-03-07 16:14:25 -05:00
Evgeny a2ebcdf825 build/test adapting for ROCm packaging
Change-Id: I4bf855cd6f0eb8432194e20fce0ad4cd05692813
2018-03-07 15:08:20 -06:00
Evgeny a3ee673c82 build/test adapting for ROCm packaging
Change-Id: I4bf855cd6f0eb8432194e20fce0ad4cd05692813


[ROCm/rocprofiler commit: a2ebcdf825]
2018-03-07 15:08:20 -06:00
foreman 1c02ad9a84 P4 to Git Change 1523990 by gandryey@gera-lnx-rcf on 2018/03/07 15:53:52
SWDEV-79445 - OCL generic changes and code clean-up
	- Keep LF code under WITH_LIQUID_FLASH, since GSL path doesn't enable LF support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#47 edit


[ROCm/clr commit: a7d777f1fb]
2018-03-07 15:57:50 -05:00
foreman a7d777f1fb P4 to Git Change 1523990 by gandryey@gera-lnx-rcf on 2018/03/07 15:53:52
SWDEV-79445 - OCL generic changes and code clean-up
	- Keep LF code under WITH_LIQUID_FLASH, since GSL path doesn't enable LF support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#47 edit
2018-03-07 15:57:50 -05:00
foreman 6fdd26c27b P4 to Git Change 1523920 by gandryey@gera-lnx-rcf on 2018/03/07 13:17:23
SWDEV-79445 - OCL generic changes and code clean-up
	- Enable lfInit() and lfTerminate() calls under Linux

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#46 edit


[ROCm/clr commit: 3880c6175d]
2018-03-07 13:24:00 -05:00
foreman 3880c6175d P4 to Git Change 1523920 by gandryey@gera-lnx-rcf on 2018/03/07 13:17:23
SWDEV-79445 - OCL generic changes and code clean-up
	- Enable lfInit() and lfTerminate() calls under Linux

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#46 edit
2018-03-07 13:24:00 -05:00
foreman 3bd86d26cb P4 to Git Change 1523752 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/07 03:00:06
SWDEV-2 - Change OpenCL version number from 2605 to 2606.

Affected files ...

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


[ROCm/clr commit: 85ae79b3e4]
2018-03-07 03:11:18 -05:00
foreman 85ae79b3e4 P4 to Git Change 1523752 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/07 03:00:06
SWDEV-2 - Change OpenCL version number from 2605 to 2606.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2353 edit
2018-03-07 03:11:18 -05:00
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 119cedf0e6 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
2018-03-06 13:43:26 -05:00
Jenkins dc897d46ce Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640


[ROCm/clr commit: 5138d7ab41]
2018-03-06 04:09:57 -06:00
Jenkins 5138d7ab41 Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640
2018-03-06 04:09:57 -06:00
Jenkins d82cfa5860 Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640


[ROCm/hip commit: 7532a86fdb]
2018-03-06 04:09:57 -06:00
Jenkins 7532a86fdb Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640
2018-03-06 04:09:57 -06:00
Sean Keely ac5ccb45b7 Use atomic variable for Runtime ref_count_.
Change-Id: Ic4d0ad9ff93d0cc52cfe2df006ee3436d5960b07
2018-03-06 03:45:14 -06:00
Sean Keely 3f4f6f778a Use atomic variable for Runtime ref_count_.
Change-Id: Ic4d0ad9ff93d0cc52cfe2df006ee3436d5960b07


[ROCm/ROCR-Runtime commit: ac5ccb45b7]
2018-03-06 03:45:14 -06:00
foreman f0febbf5fc P4 to Git Change 1523140 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2604 to 2605.

Affected files ...

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


[ROCm/clr commit: 936cfbb4b9]
2018-03-06 03:08:24 -05:00
foreman 936cfbb4b9 P4 to Git Change 1523140 by johtaylo@johtaylo-jtincrementor2-increment on 2018/03/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2604 to 2605.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2352 edit
2018-03-06 03:08:24 -05:00
Maneesh Gupta 72a9e630f8 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc

[ROCm/clr commit: 72ec13ab86]
2018-03-06 11:59:44 +05:30
Maneesh Gupta 72ec13ab86 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc
2018-03-06 11:59:44 +05:30
Maneesh Gupta 04d5d19857 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc

[ROCm/hip commit: 7cdbb9fa91]
2018-03-06 11:59:44 +05:30
Maneesh Gupta 7cdbb9fa91 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc
2018-03-06 11:59:44 +05:30
Evgeny 363700581a adding timestamps dispatch/begin/end/complete
Change-Id: I8c23e5f7ff75174243224ff008ba266553ee30c8
2018-03-05 20:59:01 -06:00
Evgeny 777eb116d4 adding timestamps dispatch/begin/end/complete
Change-Id: I8c23e5f7ff75174243224ff008ba266553ee30c8


[ROCm/rocprofiler commit: 363700581a]
2018-03-05 20:59:01 -06:00
Evgeny e009b48127 adding destructor
Change-Id: Ie55a17b637dff5e34c0488e5733101932e0feb5e
2018-03-05 16:08:52 -06:00
Evgeny 7b1d142d54 adding destructor
Change-Id: Ie55a17b637dff5e34c0488e5733101932e0feb5e


[ROCm/rocprofiler commit: e009b48127]
2018-03-05 16:08:52 -06: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 354d0df8bd 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
2018-03-05 12:00:15 -05:00