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

13402 Коммитов

Автор SHA1 Сообщение Дата
Stanley Tsang 0af39754f6 Adding support in the hipify-perl tool for the HIP_SYMBOL macro, which is required for hip API calls involving a device symbol. Added more explicit mention of the HIP_SYMBOL macro in the porting guide.
[ROCm/clr commit: ca56b81ebf]
2018-12-19 12:21:02 -05:00
foreman 27b61d2c32 P4 to Git Change 1722219 by chui@ocl-promo-incrementor on 2018/12/19 03:00:27
SWDEV-2 - Change OpenCL version number from 2797 to 2798.

Affected files ...

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


[ROCm/clr commit: b68842f1f3]
2018-12-19 03:23:12 -05:00
Yaxun Sam Liu 51702bed29 Add default arguments for hipConfigureCall
[ROCm/clr commit: 02deeadaa4]
2018-12-18 15:48:21 -05:00
Aaron Enye Shi 56262f0970 Add *_rn functions back into HIP intrinsics
Add back the round-to-nearest-even intrinsics back to HIP math
intrinsics as it caused regression.


[ROCm/clr commit: 2d50392c17]
2018-12-18 19:31:54 +00:00
foreman 61818cc7b0 P4 to Git Change 1721539 by chui@ocl-promo-incrementor on 2018/12/18 03:00:22
SWDEV-2 - Change OpenCL version number from 2796 to 2797.

Affected files ...

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


[ROCm/clr commit: d6ac06b4e5]
2018-12-18 03:15:44 -05:00
foreman 67c2cbe7fb P4 to Git Change 1721185 by wchau@wchau_OCL_boltzmann on 2018/12/17 13:43:56
SWDEV-162389 - OpenCL Support for COMgr
	- fixing bug of using incorrect included header file name

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#23 edit


[ROCm/clr commit: e40b93484f]
2018-12-17 14:02:16 -05:00
Evgeny Mankov 47d5d2cfd7 [HIPIFY] Temporary files in system temps introducing
+ Files are not being placed near original source before hipification anymore, system tmp is used for them now.
+ Additional include (-I) to absolute original source dir is added
+ Partially implements #812
+ Tested on windows/linux, single/multiple inputs, with and without includes to user header files


[ROCm/clr commit: 1180928408]
2018-12-17 20:48:48 +03:00
foreman 7737494477 P4 to Git Change 1720805 by chui@ocl-promo-incrementor on 2018/12/15 03:00:52
SWDEV-2 - Change OpenCL version number from 2795 to 2796.

Affected files ...

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


[ROCm/clr commit: 52521593be]
2018-12-15 03:14:16 -05:00
foreman 4ee3447104 P4 to Git Change 1720794 by wchau@wchau_OCL_boltzmann on 2018/12/14 23:45:05
SWDEV-79445 - OCL generic changes and code clean-up
	- Allow ROCM build within the same workspace as PAL. Please note that ROCM defualt path in this case  will be HSAIL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#105 edit


[ROCm/clr commit: 70e36f8299]
2018-12-14 23:58:11 -05:00
foreman ed07ef195a P4 to Git Change 1720436 by asalmanp@asalmanp-ocl-stg on 2018/12/14 10:27:28
SWDEV-132899 - [OCL][GFX10] correctly set the wavefrontWidth_ for gfx10.
	PAL reprots 64 for wavefrontSize so set it to 32 if the below conditions are met:
	1- if we are in HSAIL path and GPU_FORCE_WAVE_SIZE_32 is set
	2- or if we are in LC path andAsic is Navi10Plus

	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16329/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#120 edit


[ROCm/clr commit: 3b75ae4ff0]
2018-12-14 10:44:43 -05:00
Evgeny Mankov c1076d4c05 Merge pull request #809 from emankov/master
[HIPIFY][fix] Fix for the rest of found bugs in Statistics

[ROCm/clr commit: 637bf7eb6f]
2018-12-14 15:21:53 +03:00
foreman 9a652bedef P4 to Git Change 1720329 by chui@ocl-promo-incrementor on 2018/12/14 03:00:54
SWDEV-2 - Change OpenCL version number from 2794 to 2795.

Affected files ...

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


[ROCm/clr commit: 84226e036d]
2018-12-14 03:11:15 -05:00
foreman 76a6bacd22 P4 to Git Change 1720254 by wchau@wchau_OCL_boltzmann on 2018/12/13 20:24:53
SWDEV-162389 - OpenCL Support for COMgr
	- fixing two bugs that (1) destroying an non-existant comgr object, (2) missing "+xnack" in target triple for Raven

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#47 edit


[ROCm/clr commit: 57f2e64df3]
2018-12-13 20:36:31 -05:00
foreman 37c5352fd5 P4 to Git Change 1720236 by gandryey@gera-w8 on 2018/12/13 18:07:26
SWDEV-172784 - No Video playback while 10 bit pixel format is enable
	- Correct the channel's order for RGB10

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#45 edit


[ROCm/clr commit: f874108c45]
2018-12-13 18:38:40 -05:00
foreman 43795de2ec P4 to Git Change 1720181 by gandryey@gera-w8 on 2018/12/13 16:49:07
SWDEV-79445 - COMGR update
	- Use full names for dll/lib load, since not all paths in loadLibrary() can recognize short names.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#2 edit


[ROCm/clr commit: 4220039a82]
2018-12-13 17:06:43 -05:00
foreman 22892fad58 P4 to Git Change 1720088 by gandryey@gera-w8 on 2018/12/13 14:29:40
SWDEV-162389 - Switch to dynamic COMGR load

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#181 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#240 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#78 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#328 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#119 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#104 edit


[ROCm/clr commit: f33100cf45]
2018-12-13 15:22:06 -05:00
Evgeny Mankov 882620028c [HIPIFY][fix] Fix for the rest of found bugs in Statistics
+ Signs of the converted file are extended
+ Total converted lines and total elapsed time are fixed
+ Zero rates are excluded from statistics


[ROCm/clr commit: 1e30cd3ea7]
2018-12-13 18:35:45 +03:00
Evgeny Mankov bdb6f9557f Merge pull request #802 from emankov/master
[HIPIFY][fix] Fix for #801

[ROCm/clr commit: a5d25a9c5d]
2018-12-13 14:40:00 +03:00
Jenkins 6128187a08 Merge 'master' into 'amd-master'
Change-Id: I891d51cb8a77b99f460d9bf4c51c7f809bd47cc7


[ROCm/clr commit: b919bba21c]
2018-12-13 04:09:49 -06:00
foreman eaea62656e P4 to Git Change 1719758 by chui@ocl-promo-incrementor on 2018/12/13 03:00:20
SWDEV-2 - Change OpenCL version number from 2793 to 2794.

Affected files ...

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


[ROCm/clr commit: e56c8c6a8e]
2018-12-13 03:14:14 -05:00
foreman 4107cb2186 P4 to Git Change 1719658 by wchau@wchau_OCL_boltzmann on 2018/12/12 22:34:36
SWDEV-174198 - OpenCL Runtime Support for MI100 BU in ROCM

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#103 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#50 edit


[ROCm/clr commit: af97ec86ad]
2018-12-12 23:38:10 -05:00
foreman f3f7e18f5f P4 to Git Change 1719466 by wchau@wchau_OCL_boltzmann on 2018/12/12 15:42:59
SWDEV-169078 - Also copy  private_segment_size/group_segment_size to runtime handle for COMgr support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#46 edit


[ROCm/clr commit: f9b6ad6449]
2018-12-12 15:53:41 -05:00
foreman 59ab6c9f5d P4 to Git Change 1719380 by gandryey@gera-ocl-lc on 2018/12/12 13:37:56
SWDEV-79445 - OCL generic changes and code clean-up
	- Reenable some options in the compilation code.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#20 edit


[ROCm/clr commit: 9be10558eb]
2018-12-12 13:48:23 -05:00
Evgeny Mankov d2e478546b [HIPIFY][fix] Fixer for #801
[issue #801] Errors in hipification statistics


[ROCm/clr commit: 8d28db9c8d]
2018-12-12 21:33:00 +03:00
foreman 6c5fc0bc15 P4 to Git Change 1719281 by gandryey@gera-w8 on 2018/12/12 11:13:58
SWDEV-171895 - No Video playback while 10 bit pixel format is enable
	- Add GL_RGB10_EXT recognition. The format isn't officially supported in the Khronos OCL specification for GL interop. Thus GL_RGB10_EXT doesn't have any test coverage.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#61 edit


[ROCm/clr commit: 1739c7c88e]
2018-12-12 11:24:44 -05:00
Evgeny Mankov a8980580c0 Merge pull request #800 from emankov/master
[HIPIFY][tests][fix] Add correct CUDA version detection while testing

[ROCm/clr commit: 80d5861d78]
2018-12-12 18:30:03 +03:00
Evgeny Mankov 0d92c82f79 [HIPIFY][tests][fix] Add correct CUDA version detection while testing
+ Just do load_config for lit.site.cfg earlier in lit.cfg to get initialized cuda_version
+ Remove lit.cfg.in for CMake variables substitution
+ Return back lit.cfg
+ Exclude CUDA 9.0 tests if CUDA < 9.0
+ Report CUDA version before running tests


[ROCm/clr commit: a5c66018b6]
2018-12-12 17:05:01 +03:00
Jenkins 0a8b569b59 Merge 'master' into 'amd-master'
Change-Id: I2398d49e51fa3830e490ac83fe1723d7aa4e71d1


[ROCm/clr commit: 2a9768844d]
2018-12-12 04:09:48 -06:00
foreman b51ea30784 P4 to Git Change 1719159 by chui@ocl-promo-incrementor on 2018/12/12 03:00:20
SWDEV-2 - Change OpenCL version number from 2792 to 2793.

Affected files ...

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


[ROCm/clr commit: d5ff55ca7d]
2018-12-12 03:10:15 -05:00
Maneesh Gupta f096437107 Merge pull request #797 from gargrahul/fixhipPointerGetAttributes
Fixed hipPointerGetAttributes for hostmalloced ptr

[ROCm/clr commit: a778f7cdf7]
2018-12-12 10:16:07 +05:30
Maneesh Gupta 30ce297635 Merge pull request #608 from gargrahul/add_pinned_2d_sdma_copy
Added support for pinned 2D SDMA copy

[ROCm/clr commit: 6ce99b066c]
2018-12-12 07:44:16 +05:30
Evgeny Mankov d38bbc99aa [HIPIFY][tests][fix] Add correct CUDA version detection while testing
+ Add lit.cfg.in for CMake variables substitution to now generated lit.cfg
+ Exclude lit.cfg
+ Exclude CUDA 9.0 tests if CUDA < 9.0
+ Report CUDA version before running tests


[ROCm/clr commit: 2b01f1eb6f]
2018-12-11 22:03:11 +03:00
foreman bfcd1a722b P4 to Git Change 1718602 by chui@ocl-promo-incrementor on 2018/12/11 03:00:21
SWDEV-2 - Change OpenCL version number from 2791 to 2792.

Affected files ...

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


[ROCm/clr commit: ad64c0bf61]
2018-12-11 03:33:54 -05:00
Evgeny Mankov b5934ac50b Merge pull request #789 from emankov/master
[HIPIFY] Initial support of translation to ROCm

[ROCm/clr commit: f2afe92844]
2018-12-11 10:56:41 +03:00
foreman 10b33ca839 P4 to Git Change 1718359 by wchau@wchau_OCL_boltzmann on 2018/12/10 15:59:00
SWDEV-162389 - OpenCL Support for COMgr
	- fixed memory leak in Kernel::GetKernelMetadata()

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#15 edit


[ROCm/clr commit: 8f175b9097]
2018-12-10 16:20:57 -05:00
foreman 4c62a197f2 P4 to Git Change 1718337 by gandryey@gera-w8 on 2018/12/10 15:30:30
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
	- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
	- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#179 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#238 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#327 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#249 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#101 edit


[ROCm/clr commit: e643f0bc00]
2018-12-10 15:49:24 -05:00
foreman c5a32bd377 P4 to Git Change 1717888 by chui@ocl-promo-incrementor on 2018/12/08 03:00:49
SWDEV-2 - Change OpenCL version number from 2790 to 2791.

Affected files ...

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


[ROCm/clr commit: ca58d7a9bb]
2018-12-08 03:10:21 -05:00
foreman 7bbd0000da P4 to Git Change 1717849 by gandryey@gera-w8 on 2018/12/07 18:26:42
SWDEV-162389 - Back out changelist 1717839 due to a weird link error in LiquidFlash for LC Windows build only

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#237 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#326 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#100 edit


[ROCm/clr commit: fd43c4fbfd]
2018-12-07 18:41:56 -05:00
foreman 158b231836 P4 to Git Change 1717839 by gandryey@gera-w8 on 2018/12/07 17:54:13
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
	- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
	- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#236 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#325 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#247 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#99 edit


[ROCm/clr commit: 03d5d4b485]
2018-12-07 18:30:39 -05:00
Rahul Garg 514e5a41e3 Fixed hipPointerGetAttributes for hostmalloced ptr
[ROCm/clr commit: 77fd517e09]
2018-12-08 01:42:08 +05:30
Jenkins 0f1a0c6a65 Merge 'master' into 'amd-master'
Change-Id: I4cb9bd9cacaf55727096fd55d05c6e17ffd4e1b0


[ROCm/clr commit: 6ea0ad82e2]
2018-12-07 04:09:41 -06:00
foreman 3cc1455d67 P4 to Git Change 1717523 by chui@ocl-promo-incrementor on 2018/12/07 03:00:18
SWDEV-2 - Change OpenCL version number from 2789 to 2790.

Affected files ...

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


[ROCm/clr commit: 855c65b06b]
2018-12-07 03:15:54 -05:00
amd-stanley 36af63b64b Merge pull request #1 from ROCm-Developer-Tools/master
Updating fork with latest code from origin

[ROCm/clr commit: 4fc2715252]
2018-12-06 13:28:25 -07:00
Evgeny Mankov ccad9cbd80 [HIPIFY] Initial support of translation to ROCm
+ Option '-roc' is added to translate to ROCm instead of HIP
+ Update hipification mechanism accordingly
+ Populate all translation maps with additional field for ROCm identifiers
+ There are 4 degrees of CUDA support now: full support, only by HIP, only by ROCm, unsupported


[ROCm/clr commit: 747eb2c11c]
2018-12-06 21:52:54 +03:00
foreman 55ed862227 P4 to Git Change 1716952 by chui@ocl-promo-incrementor on 2018/12/06 03:00:18
SWDEV-2 - Change OpenCL version number from 2788 to 2789.

Affected files ...

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


[ROCm/clr commit: 871332903f]
2018-12-06 03:57:46 -05:00
foreman 413364e650 P4 to Git Change 1716176 by chui@ocl-promo-incrementor on 2018/12/05 03:00:17
SWDEV-2 - Change OpenCL version number from 2787 to 2788.

Affected files ...

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


[ROCm/clr commit: c02cbf4723]
2018-12-05 03:15:51 -05:00
foreman cbbfb4a0f3 P4 to Git Change 1716039 by gandryey@gera-w8 on 2018/12/04 19:35:36
SWDEV-86035 - Fix OCL runtime crash after recent PAL promotion
	- PAL added a new asic inside the old enum and broke the logic for the asic detection with nulldevices. Add a new entry into Gfx9PlusSubDeviceInfo

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#44 edit


[ROCm/clr commit: 6aff36f09a]
2018-12-04 19:47:07 -05:00
Evgeny Mankov 008640c8a5 Merge pull request #787 from emankov/master
[HIPIFY][tests] Reorganization

[ROCm/clr commit: 32455eddaf]
2018-12-04 20:48:48 +03:00
Evgeny Mankov 27496f1d0d [HIPIFY][tests] Reorganization
[ROCm/clr commit: b76cf94562]
2018-12-04 20:47:34 +03:00
Evgeny Mankov 5906596174 Merge pull request #786 from emankov/master
[HIPIFY][SPARSE] Add 3 more CUDA 10.0 tests

[ROCm/clr commit: f368ab4a32]
2018-12-04 19:30:26 +03:00