Commit grafiek

13402 Commits

Auteur SHA1 Bericht Datum
Evgeny Mankov d56471b77b Merge pull request #1712 from emankov/hipify
[HIPIFY] CUDA 10.2 (functions only)

[ROCm/clr commit: c3076a2a07]
2019-12-04 18:39:10 +03:00
Evgeny Mankov 8477ab5d86 [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


[ROCm/clr commit: 43441eb99c]
2019-12-04 18:37:31 +03:00
Evgeny Mankov 03250ea190 Merge pull request #1710 from emankov/hipify
[HIPIFY] CUDA 10.2 fp_16 support

[ROCm/clr commit: 187f28e26b]
2019-12-04 13:28:43 +03:00
Evgeny Mankov f6da983c96 [HIPIFY] CUDA 10.2 fp_16 support
[ROCm/clr commit: 721a8540c0]
2019-12-04 13:27:46 +03:00
Maneesh Gupta ecbc77d921 [packaging] Rename hip packages to conform to debian package renaming rules (#1708)
[ROCm/clr commit: 59b3bd0048]
2019-12-04 15:55:37 +05:30
Evgeny Mankov 9976235fb4 Merge pull request #1709 from emankov/hipify
[HIPIFY] CUDA 10.2 support (data types only)

[ROCm/clr commit: 89703e4ea9]
2019-12-04 12:26:51 +03:00
Evgeny Mankov deaf478ced [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


[ROCm/clr commit: 33f81effb1]
2019-12-04 12:25:20 +03:00
foreman 0643ac2b90 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


[ROCm/clr commit: 7d544e807f]
2019-12-04 03:03:58 -05:00
Rahul Garg 6c7a338471 Fix hipMemcpyWithStream (#1707)
* Fix hipMemcpyWithStream
* Add a dtest for the same.


[ROCm/clr commit: 261a04580f]
2019-12-04 11:56:23 +05:30
Aryan Salmanpour 2471c1950c [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.

[ROCm/clr commit: 8eaea4d114]
2019-12-04 11:50:51 +05:30
foreman 0683137aca 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


[ROCm/clr commit: 0814a17a4e]
2019-12-03 03:06:58 -05:00
foreman 292d678a6f 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


[ROCm/clr commit: 401d75de56]
2019-12-02 13:37:35 -06:00
foreman 1418890534 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


[ROCm/clr commit: 3f566e4656]
2019-12-02 10:24:03 -05:00
Jenkins 99145b8772 Merge 'master' into 'amd-master'
Change-Id: I79c383bed37cf6278ddb733ddf3bf3661e3dad35


[ROCm/clr commit: 3bb63fb84e]
2019-12-02 01:27:13 -05:00
Maneesh Gupta 9e9d49c891 Revert "[packaging] Conform to debian package naming rules (#1647)" (#1688)
This reverts commit 71be7baece.

[ROCm/clr commit: 38e971b645]
2019-12-01 14:47:43 +05:30
foreman 2df96767dd 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


[ROCm/clr commit: 2c697a17e2]
2019-11-30 03:06:48 -05:00
Evgeny Mankov 2c2a726726 Merge pull request #1702 from emankov/hipify
[HIPIFY] Sync cudaError/CUresult between CUDA Driver API/CUDA RT API/HIP

[ROCm/clr commit: da468e181f]
2019-11-29 19:31:28 +03:00
Evgeny Mankov 5317d618d1 [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


[ROCm/clr commit: 636108aaa9]
2019-11-29 19:29:11 +03:00
foreman a99f5547f8 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


[ROCm/clr commit: 384f95a8be]
2019-11-29 10:17:28 -05:00
foreman fafcb6265a 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


[ROCm/clr commit: b39b9582d9]
2019-11-29 03:03:52 -05:00
Maneesh Gupta 97850ae9a8 Revert changes for atomic FADD support when address is in LDS (#1701)
This reverts PR #1591 and follow-on PR #1695

[ROCm/clr commit: 4c92bd50c4]
2019-11-29 11:58:12 +05:30
foreman 84cebcfc51 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


[ROCm/clr commit: 3de904a3f3]
2019-11-28 15:41:22 -05:00
Siu Chi Chan 113db919e7 add error checking for code object loading
[ROCm/clr commit: d33975d6e8]
2019-11-28 14:00:48 -05:00
Alex Voicu b26aa2378e Uniform is_shared query. (#1695)
[ROCm/clr commit: 17a4780dc6]
2019-11-28 13:39:05 +05:30
foreman fbd4d14a67 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


[ROCm/clr commit: fc6a848e84]
2019-11-28 03:02:11 -05:00
foreman ccdf54d7b8 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


[ROCm/clr commit: 7f36a775c8]
2019-11-27 14:09:12 -05:00
foreman c5347fa95b 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


[ROCm/clr commit: 1d9815dd75]
2019-11-27 03:02:03 -05:00
foreman 9c9639a0e3 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


[ROCm/clr commit: 416f273e94]
2019-11-26 22:44:29 -05:00
foreman 6fa37cf5bd P4 to Git Change 2037147 by kjayapra@1_HIPWS_LNX1_PAL on 2019/11/26 16:58:07
SWDEV-144570 - Adding hipMemcpyWithStream API

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#36 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#34 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#87 edit


[ROCm/clr commit: d2570e2254]
2019-11-26 17:03:41 -05:00
foreman c2b60225b3 P4 to Git Change 2036984 by vsytchen@vsytchen-ocl-win10-2 on 2019/11/26 13:22:26
SWDEV-2036435 - Fix p4 build

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

Affected files ...

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


[ROCm/clr commit: 904ccfebc6]
2019-11-26 12:30:05 -06:00
foreman 5edebb2ccb P4 to Git Change 2036695 by chui@ocl-promo-incrementor on 2019/11/26 03:00:13
SWDEV-2 - Change OpenCL version number from 3046 to 3047.

Affected files ...

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


[ROCm/clr commit: 9d20a77b81]
2019-11-26 03:06:49 -05:00
Jeff Daily 22c07e2331 fix hipMempcy precondition, test for zero size first (#1697)
[ROCm/clr commit: 6df73e1f12]
2019-11-25 19:03:03 -08:00
foreman ed9c98954c P4 to Git Change 2036435 by skudchad@skudchad_test2_win_opencl on 2019/11/25 18:48:27
SWDEV-203814 - HIPRTC Inprocess runtime changes

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#108 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#106 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#50 edit


[ROCm/clr commit: f6db6a2209]
2019-11-25 17:55:47 -06:00
Anusha Godavarthy Surya aec13e0fb3 replace array designator C99
[ROCm/clr commit: bc79c5636b]
2019-11-25 16:51:49 +05:30
foreman 8002aee58f P4 to Git Change 2035670 by chui@ocl-promo-incrementor on 2019/11/23 03:00:11
SWDEV-2 - Change OpenCL version number from 3045 to 3046.

Affected files ...

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


[ROCm/clr commit: e2cdf665e4]
2019-11-23 03:08:48 -05:00
foreman b0cb282f6f P4 to Git Change 2035631 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/22 17:52:20
SWDEV-213526 - pytorch tests fail with hipErrorOutofMemory
	There's a bug in ROCr when loading a lot of kernels and not syncing
	So for now, if an allocation fails, sync devices and retry before
	returning hipErrorOutOfMemory error.

Affected files ...

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


[ROCm/clr commit: e7745c6d1e]
2019-11-22 17:56:07 -05:00
foreman 5cc4a44ce5 P4 to Git Change 2035516 by gandryey@gera-hip-lnx on 2019/11/22 15:51:48
SWDEV-79445 - OCL generic changes and code clean-up
	- Don't sync on the scratch buffer if the executed kernel is unchanged, since the number of scratch regs remains the same

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#65 edit


[ROCm/clr commit: dd5459c7a1]
2019-11-22 15:53:12 -05:00
foreman fd6707d450 P4 to Git Change 2035286 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/22 11:19:57
SWDEV-145570 - Revering CL 2033170

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#52 edit


[ROCm/clr commit: db74302fe3]
2019-11-22 11:29:49 -05:00
foreman 7138352f9e P4 to Git Change 2035092 by chui@ocl-promo-incrementor on 2019/11/22 03:00:22
SWDEV-2 - Change OpenCL version number from 3044 to 3045.

Affected files ...

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


[ROCm/clr commit: cabcfb5f37]
2019-11-22 03:07:12 -05:00
Alex Voicu 82b55e6502 Unary operators were too restrictive in the type of their argument. (#1683)
[ROCm/clr commit: 306d50291e]
2019-11-22 07:54:53 +05:30
Shyam Saladi 84953da127 [HIPIFY] fix typo (#1681)
[ROCm/clr commit: 562336e733]
2019-11-22 07:54:37 +05:30
ansurya 0ece8d0f9b Fix rocBLAS compilation failure (#1677)
SWDEV-212749:
o Recent changes to “add support for extended launch” require hip_runtime.h to be include in hip_ext.h
o Order in which external applications include hip_hcc.h/hip_runtime.h causes compilation failure

[ROCm/clr commit: e5fc5aa41c]
2019-11-22 07:54:17 +05:30
Alex Voicu e1dca187c9 Use native support for atomic FADD when address is in LDS (#1591)
[ROCm/clr commit: 2ed3a0873c]
2019-11-22 07:53:48 +05:30
foreman 42954c9d8a P4 to Git Change 2034910 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/21 19:28:10
SWDEV-145570 - Revering CL#2033779 for now.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#36 edit


[ROCm/clr commit: 6cabc4898d]
2019-11-21 19:33:05 -05:00
foreman 91e42695d7 P4 to Git Change 2034910 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/21 19:28:10
SWDEV-145570 - Revering CL#2033779 for now.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#36 edit


[ROCm/clr commit: 79baf8255f]
2019-11-21 19:33:05 -05:00
foreman de2deaa6ce P4 to Git Change 2034784 by gandryey@gera-hip-lnx on 2019/11/21 16:31:24
SWDEV-79445 - OCL generic changes and code clean-up
	- Enable WGP mode in ROCr GFX10 by default
	- Read GPU_ENABLE_WAVE32_MODE environment variable to control wave32/64 on ROCr

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#46 edit


[ROCm/clr commit: d033b0eee9]
2019-11-21 16:33:51 -05:00
foreman 1d5271c93d P4 to Git Change 2034397 by chui@ocl-promo-incrementor on 2019/11/21 03:00:11
SWDEV-2 - Change OpenCL version number from 3043 to 3044.

Affected files ...

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


[ROCm/clr commit: e4d5473068]
2019-11-21 03:02:57 -05:00
satyanveshd e2a0a547ff fixed directed tests fail when hcc bumped to 3.0 (#1678)
Handled the HCC version check appropriately as few of the directed tests (SWDEV-212161) were failing when hcc was bumped to 3.0.

[ROCm/clr commit: d4dde7a27d]
2019-11-20 21:37:52 +05:30
Alex Voicu 553a7c2ce3 General sync memcpy improvements. Add hipMemcpyWithStream (#1673)
* General sync memcpy improvements. Add `hipMemcpyWithStream`

* Update hip_memory.cpp


[ROCm/clr commit: 022ac3cb0a]
2019-11-20 21:36:37 +05:30
Rahul Garg 81dd3751a6 Update error codes for hipGetDevice for doxygen and move up null check (#1668)
* [docs] Update error codes for hipGetDevice

* Move up out ptr check


[ROCm/clr commit: 13c2a31d7e]
2019-11-20 21:35:27 +05:30