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

13474 Коммитов

Автор SHA1 Сообщение Дата
foreman 3c2ac9e6ff P4 to Git Change 2042459 by chui@ocl-promo-incrementor on 2019/12/09 03:00:03
SWDEV-2 - Change OpenCL version number from 3057 to 3058.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2805 edit
2019-12-09 03:28:45 -05:00
Evgeny Mankov 8223a48683 Merge pull request #1725 from emankov/hipify-clang
[HIPIFY] Add cleanupHipifyOptions functionality
2019-12-08 15:15:57 +03:00
Evgeny Mankov 486ec185e7 [HIPIFY] Add cleanupHipifyOptions functionality
Needed for sorting input files to avoid clang errors on unsupported options
2019-12-08 15:13:28 +03:00
foreman b12700b2ad P4 to Git Change 2042310 by chui@ocl-promo-incrementor on 2019/12/08 03:00:03
SWDEV-2 - Change OpenCL version number from 3056 to 3057.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2804 edit
2019-12-08 03:05:35 -05:00
foreman f67c3bffac P4 to Git Change 2042289 by kjayapra@1_HIPWS_LNX1_PAL on 2019/12/07 06:33:01
SWDEV-145570 - MI200 Support changes in addition to CL#2042212

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#28 edit
2019-12-07 06:38:15 -05:00
Evgeny Mankov 62df9e5732 Merge pull request #1723 from emankov/hipify-clang
[HIPIFY] main source file refactoring
2019-12-07 14:07:23 +03:00
Evgeny Mankov 72b1d16115 [HIPIFY] main source file refactoring 2019-12-07 13:50:13 +03:00
Evgeny Mankov 97537d0818 Merge pull request #1722 from emankov/hipify-clang
[HIPIFY][fix][#1246][#1655] Sort input files based on their dependency graph
2019-12-07 11:23:01 +03:00
Evgeny Mankov ef405daaee [HIPIFY][fix][#1246][#1655] Sort input files based on their dependency graph
+ Implemented by using clang Driver infrastructure

[ToDo] Add tests for in-place hipification of multiple files
2019-12-07 11:20:17 +03:00
foreman 6f8ecabba6 P4 to Git Change 2042280 by chui@ocl-promo-incrementor on 2019/12/07 03:00:03
SWDEV-2 - Change OpenCL version number from 3055 to 3056.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2803 edit
2019-12-07 03:05:38 -05:00
foreman 3564e270ea P4 to Git Change 2042212 by kjayapra@1_HIPWS_LNX1_PAL on 2019/12/06 17:41:27
SWDEV-145570 - Adding MI200 Support for VDI runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#144 edit
2019-12-06 17:51:01 -05:00
foreman 755f35e7d8 P4 to Git Change 2042093 by jujiang@JJ-HIP on 2019/12/06 14:44:16
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows
	-Update hipTexRefSetArray

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#29 edit
2019-12-06 14:53:41 -05:00
mhbliao 209f31525f Fix hipExtLaunchMultiKernelMultiDevice refactoring. (#1714)
- Use the correct condition for HIP VDI runtime.
2019-12-06 09:49:17 -08:00
Jenkins 15aa9de37f Merge 'master' into 'amd-master'
Change-Id: I11a48b1198f902fa74e9c0cf7e234c81fb704968
2019-12-06 10:51:37 +00:00
foreman 1eae5508c5 P4 to Git Change 2041823 by chui@ocl-promo-incrementor on 2019/12/06 03:00:17
SWDEV-2 - Change OpenCL version number from 3054 to 3055.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2802 edit
2019-12-06 03:06:48 -05:00
foreman e20237e406 P4 to Git Change 2041756 by cpaquot@cpaquot-ocl-lc-lnx on 2019/12/06 00:27:07
SWDEV-213526 - [hip] OOM issue
	Restore lazy kernel uploads for 2.10 release.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#54 edit
2019-12-06 00:33:55 -05:00
Rahul Garg a369bd4418 Revert - Changes related to hipMemcpyWithStream (#1718)
Reverting #1673, #1697 and #1707.
Support for hipMemcpyWithStream and memcpy optimizations, will be brought in again once issues seen with these are resolved independently.
2019-12-06 09:51:53 +05:30
foreman 44566b975b P4 to Git Change 2041210 by chui@ocl-promo-incrementor on 2019/12/05 03:00:17
SWDEV-2 - Change OpenCL version number from 3053 to 3054.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2801 edit
2019-12-05 03:05:23 -05:00
foreman 6e9e96493f P4 to Git Change 2040890 by skudchad@skudchad_test2_win_opencl on 2019/12/04 14:16:51
SWDEV-203814 - HIPRTC Inprocess runtime changes(part2)

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/18342/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#37 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#35 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_rtc.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#38 edit
2019-12-04 14:22:03 -05:00
foreman c999a76da2 P4 to Git Change 2040890 by skudchad@skudchad_test2_win_opencl on 2019/12/04 14:16:51
SWDEV-203814 - HIPRTC Inprocess runtime changes(part2)

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/18342/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#37 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#35 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_rtc.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#38 edit
2019-12-04 14:22:03 -05:00
foreman 1cd1b3eae2 P4 to Git Change 2040884 by jujiang@JJ-HIP on 2019/12/04 13:59:15
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows
	-Update hipMemcpy3D function
	http://ocltc.amd.com/reviews/r/18346/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#90 edit
2019-12-04 14:06:53 -05:00
foreman 94e4e87b88 P4 to Git Change 2040867 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/12/04 13:32:27
SWDEV-145570 - Adding back the lazy kernel changes because the OOM issue is because of KFD/RocR.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#53 edit
2019-12-04 13:34:03 -05:00
Evgeny Mankov c3076a2a07 Merge pull request #1712 from emankov/hipify
[HIPIFY] CUDA 10.2 (functions only)
2019-12-04 18:39:10 +03:00
Evgeny Mankov 43441eb99c [HIPIFY] CUDA 10.2 (functions only)
+ Both Driver API and RT API are supported and synced with each other
+ Update *.md docs and hipify-perl accordingly
+ Add new conversion type "virtual_memory", introduced in Dirver API
2019-12-04 18:37:31 +03:00
Evgeny Mankov 187f28e26b Merge pull request #1710 from emankov/hipify
[HIPIFY] CUDA 10.2 fp_16 support
2019-12-04 13:28:43 +03:00
Evgeny Mankov 721a8540c0 [HIPIFY] CUDA 10.2 fp_16 support 2019-12-04 13:27:46 +03:00
Maneesh Gupta 59b3bd0048 [packaging] Rename hip packages to conform to debian package renaming rules (#1708) 2019-12-04 15:55:37 +05:30
Evgeny Mankov 89703e4ea9 Merge pull request #1709 from emankov/hipify
[HIPIFY] CUDA 10.2 support (data types only)
2019-12-04 12:26:51 +03:00
Evgeny Mankov 33f81effb1 [HIPIFY] CUDA 10.2 support (data types only)
+ Both Driver API and RT API are supported and synced with each other
+ Update *.md docs and hipify-perl accordingly
2019-12-04 12:25:20 +03:00
foreman 7d544e807f P4 to Git Change 2040547 by chui@ocl-promo-incrementor on 2019/12/04 03:00:16
SWDEV-2 - Change OpenCL version number from 3052 to 3053.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2800 edit
2019-12-04 03:03:58 -05:00
Rahul Garg 261a04580f Fix hipMemcpyWithStream (#1707)
* Fix hipMemcpyWithStream
* Add a dtest for the same.
2019-12-04 11:56:23 +05:30
Aryan Salmanpour 8eaea4d114 [hip] refactoring hipExtLaunchMultiKernelMultiDevice API (#1698)
[Background] it was found that if lazy linking used for a library that calls hipExtLaunchMultiKernelMultiDevice API then this API can get the wrong program_state object for looking up device kernels leading to a "No device code available" error in this API.

To fix this issue, the API was refactored to be inline and get and pass the correct program_state to an internal hip API to request a multi-device kernel launch.
2019-12-04 11:50:51 +05:30
foreman 0814a17a4e P4 to Git Change 2039930 by chui@ocl-promo-incrementor on 2019/12/03 03:00:16
SWDEV-2 - Change OpenCL version number from 3051 to 3052.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2799 edit
2019-12-03 03:06:58 -05:00
foreman 401d75de56 P4 to Git Change 2039536 by jujiang@JJ-HIP on 2019/12/02 14:31:13
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows
	-Update ihipBindTexture

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#28 edit
2019-12-02 13:37:35 -06:00
foreman 3f566e4656 P4 to Git Change 2039367 by todli@todli-win-opencl-kv1 on 2019/12/02 10:17:56
SWDEV-211683 - 1.remove Renoir from GPU path device creation 2.adjust Renoir's postions in compiler and runtime

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#173 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#192 edit
2019-12-02 10:24:03 -05:00
Jenkins 3bb63fb84e Merge 'master' into 'amd-master'
Change-Id: I79c383bed37cf6278ddb733ddf3bf3661e3dad35
2019-12-02 01:27:13 -05:00
Maneesh Gupta 38e971b645 Revert "[packaging] Conform to debian package naming rules (#1647)" (#1688)
This reverts commit 5a03482690.
2019-12-01 14:47:43 +05:30
foreman 2c697a17e2 P4 to Git Change 2038998 by chui@ocl-promo-incrementor on 2019/11/30 03:00:15
SWDEV-2 - Change OpenCL version number from 3050 to 3051.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2798 edit
2019-11-30 03:06:48 -05:00
Evgeny Mankov da468e181f Merge pull request #1702 from emankov/hipify
[HIPIFY] Sync cudaError/CUresult between CUDA Driver API/CUDA RT API/HIP
2019-11-29 19:31:28 +03:00
Evgeny Mankov 636108aaa9 [HIPIFY] Sync cudaError/CUresult between CUDA Driver API/CUDA RT API/HIP
+ Update *.md docs and hipify-perl accordingly

[Reason]
Starting with CUDA 10.1 all error codes are merged between Driver and RT APIs

[ToDo]
Do the same merge in HIP API as there is no need in distinguishing return codes by API
2019-11-29 19:29:11 +03:00
foreman 384f95a8be P4 to Git Change 2038688 by jujiang@JJ-HIP on 2019/11/29 10:14:49
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows
	- Update function hipMemcpy3D for Texture Array
	- Add  hipArrayCubemap support in hipMalloc3DArray

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#88 edit
2019-11-29 10:17:28 -05:00
foreman b39b9582d9 P4 to Git Change 2038561 by chui@ocl-promo-incrementor on 2019/11/29 03:00:14
SWDEV-2 - Change OpenCL version number from 3049 to 3050.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2797 edit
2019-11-29 03:03:52 -05:00
Maneesh Gupta 4c92bd50c4 Revert changes for atomic FADD support when address is in LDS (#1701)
This reverts PR #1591 and follow-on PR #1695
2019-11-29 11:58:12 +05:30
foreman 3de904a3f3 P4 to Git Change 2038311 by vsytchen@vsytchen-ocl-win10-2 on 2019/11/28 15:39:44
SWDEV-193973 - Enable Navi21 for mainline builds

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/18326/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#178 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#107 edit
2019-11-28 15:41:22 -05:00
Siu Chi Chan d33975d6e8 add error checking for code object loading 2019-11-28 14:00:48 -05:00
Alex Voicu 17a4780dc6 Uniform is_shared query. (#1695) 2019-11-28 13:39:05 +05:30
foreman fc6a848e84 P4 to Git Change 2038037 by chui@ocl-promo-incrementor on 2019/11/28 03:00:13
SWDEV-2 - Change OpenCL version number from 3048 to 3049.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2796 edit
2019-11-28 03:02:11 -05:00
foreman 7f36a775c8 P4 to Git Change 2037665 by jatang@jatang_win_pal_lc on 2019/11/27 14:04:36
SWDEV-1 - Fix cmake build.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#48 edit
2019-11-27 14:09:12 -05:00
foreman 1d9815dd75 P4 to Git Change 2037394 by chui@ocl-promo-incrementor on 2019/11/27 03:00:13
SWDEV-2 - Change OpenCL version number from 3047 to 3048.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2795 edit
2019-11-27 03:02:03 -05:00
foreman 416f273e94 P4 to Git Change 2037301 by ssahasra@ssahasra-hip-vdi on 2019/11/26 22:42:25
SWDEV-204782 - introduce hostcall

	Hostcall is a service that allows a kernel to submit requests to the
	host using shared buffers, and block until a response is received. This
	will eventually replace the shared buffer currently used for printf, and
	repurposes the same hidden kernel argument.

	When the runtime launches a kernel that requires the hostcall service it
	performs the following actions:
	- Launch a hostcall listener thread if it is not already running.
	- Locate the hostcall buffer for the corresponding hardware queue, or
	  create a new one.
	- Register the new hostcall buffer with the listener thread.
	- Set the hostcall buffer pointer as an implicit argument to the kernel.

Affected files ...

... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/Makefile#21 edit
... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/build/Makefile.hip_tests#31 edit
... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/scripts/hip_hostcall_tests.txt#1 add
... //depot/stg/opencl/drivers/opencl/make/hip.git/tests/scripts/run_all_tests.sh#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#143 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rochostcall.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rochostcall.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#92 edit
2019-11-26 22:44:29 -05:00