76333 Commits
Author SHA1 Message Date
foreman 2ca3e8f337 P4 to Git Change 2004245 by axie@axie_win_opencl_nvme on 2019/09/25 16:46:31
SWDEV-203855 - Segfault when using hipArrayCreate and hipMemcpyParam2D
	1. hipArrayCreate API implementation uses a wrong parameter to check width. That parameter can be null pointer because it is used to pass the pointer back to the caller.
	2. Implement hipMemcpyParam2D similar to HIP-HCC implementation. Reference: https://github.com/ROCm-Developer-Tools/HIP/blob/master/src/hip_memory.cpp

	Tests:
	1. PRE CHECK-IN build and test(no regression):  http://ocltc:8111/viewModification.html?modId=126608&personal=true&init=1&tab=vcsModificationBuilds
	2. GPU is VEGA10, OS is Windows 10, CPU is threadripper 1900x, run the test. There is not segfault or exit during hipArrayCreate and hipMemcpyParam2D function call.

	ReviewBoard: http://ocltc.amd.com/reviews/r/18037/

Affected files ...

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


[ROCm/hip commit: e37b6b6740]
2019-09-25 16:53:50 -04:00
foreman e37b6b6740 P4 to Git Change 2004245 by axie@axie_win_opencl_nvme on 2019/09/25 16:46:31
SWDEV-203855 - Segfault when using hipArrayCreate and hipMemcpyParam2D
	1. hipArrayCreate API implementation uses a wrong parameter to check width. That parameter can be null pointer because it is used to pass the pointer back to the caller.
	2. Implement hipMemcpyParam2D similar to HIP-HCC implementation. Reference: https://github.com/ROCm-Developer-Tools/HIP/blob/master/src/hip_memory.cpp

	Tests:
	1. PRE CHECK-IN build and test(no regression):  http://ocltc:8111/viewModification.html?modId=126608&personal=true&init=1&tab=vcsModificationBuilds
	2. GPU is VEGA10, OS is Windows 10, CPU is threadripper 1900x, run the test. There is not segfault or exit during hipArrayCreate and hipMemcpyParam2D function call.

	ReviewBoard: http://ocltc.amd.com/reviews/r/18037/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#72 edit
2019-09-25 16:53:50 -04:00
Evgeny Mankov 916311410b Merge pull request #1462 from emankov/master
[HIPIFY][#1439] Add reinterpret_cast to args of some functions

[ROCm/clr commit: 6d69ceeb1d]
2019-09-25 18:58:03 +03:00
Evgeny Mankov 6d69ceeb1d Merge pull request #1462 from emankov/master
[HIPIFY][#1439] Add reinterpret_cast to args of some functions
2019-09-25 18:58:03 +03:00
Evgeny Mankov 9464185c27 Merge pull request #1462 from emankov/master
[HIPIFY][#1439] Add reinterpret_cast to args of some functions

[ROCm/hip commit: 964b7e81dc]
2019-09-25 18:58:03 +03:00
Evgeny Mankov 964b7e81dc Merge pull request #1462 from emankov/master
[HIPIFY][#1439] Add reinterpret_cast to args of some functions
2019-09-25 18:58:03 +03:00
Evgeny Mankov 3ee668a9b9 [HIPIFY][#1439] Add reinterpret_cast to args of some functions
+ Perl part of [#1458]
+ Affected functions: hipFuncSetCacheConfig, hipFuncGetAttributes
+ Implement function generateHostFunctions() in hipify-clang for that purposes
+ Update hipify-perl accordingly


[ROCm/clr commit: 1db7c1d694]
2019-09-25 18:53:17 +03:00
Evgeny Mankov 1db7c1d694 [HIPIFY][#1439] Add reinterpret_cast to args of some functions
+ Perl part of [#1458]
+ Affected functions: hipFuncSetCacheConfig, hipFuncGetAttributes
+ Implement function generateHostFunctions() in hipify-clang for that purposes
+ Update hipify-perl accordingly
2019-09-25 18:53:17 +03:00
Evgeny Mankov ca15d193e8 [HIPIFY][#1439] Add reinterpret_cast to args of some functions
+ Perl part of [#1458]
+ Affected functions: hipFuncSetCacheConfig, hipFuncGetAttributes
+ Implement function generateHostFunctions() in hipify-clang for that purposes
+ Update hipify-perl accordingly


[ROCm/hip commit: 9d1d4b78e3]
2019-09-25 18:53:17 +03:00
Evgeny Mankov 9d1d4b78e3 [HIPIFY][#1439] Add reinterpret_cast to args of some functions
+ Perl part of [#1458]
+ Affected functions: hipFuncSetCacheConfig, hipFuncGetAttributes
+ Implement function generateHostFunctions() in hipify-clang for that purposes
+ Update hipify-perl accordingly
2019-09-25 18:53:17 +03:00
shaoyunl a1e399a3ff Thunk : Add gfx1011 support from thunk side
Change-Id: I6b202b75fc1ad0e69576a35a6a3e499818137e04
Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
2019-09-25 11:02:33 -04:00
shaoyunl 677448a6ea Thunk : Add gfx1011 support from thunk side
Change-Id: I6b202b75fc1ad0e69576a35a6a3e499818137e04
Signed-off-by: shaoyunl <shaoyun.liu@amd.com>


[ROCm/ROCR-Runtime commit: a1e399a3ff]
2019-09-25 11:02:33 -04:00
foreman d944e2c3da P4 to Git Change 2003907 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/09/25 10:27:19
SWDEV-144570 - Fixing compilation error - changing intermediate enum var as int.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#32 edit


[ROCm/clr commit: 8c489a3680]
2019-09-25 10:40:51 -04:00
foreman 8c489a3680 P4 to Git Change 2003907 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/09/25 10:27:19
SWDEV-144570 - Fixing compilation error - changing intermediate enum var as int.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#32 edit
2019-09-25 10:40:51 -04:00
Evgeny Mankov 397370fb75 Merge pull request #1461 from emankov/master
[HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND

[ROCm/clr commit: 9c7a9eecc3]
2019-09-25 17:39:31 +03:00
Evgeny Mankov 9c7a9eecc3 Merge pull request #1461 from emankov/master
[HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND
2019-09-25 17:39:31 +03:00
Evgeny Mankov 0d0f963eb1 Merge pull request #1461 from emankov/master
[HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND

[ROCm/hip commit: bafec0a20e]
2019-09-25 17:39:31 +03:00
Evgeny Mankov bafec0a20e Merge pull request #1461 from emankov/master
[HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND
2019-09-25 17:39:31 +03:00
Evgeny Mankov 1fa72c7dc8 [HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND
[ROCm/clr commit: 76f2202abf]
2019-09-25 17:37:41 +03:00
Evgeny Mankov 76f2202abf [HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND 2019-09-25 17:37:41 +03:00
Evgeny Mankov 3fc8c6fa4c [HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND
[ROCm/hip commit: 6ac0baf026]
2019-09-25 17:37:41 +03:00
Evgeny Mankov 6ac0baf026 [HIPIFY][perl] Get rid of obsolete warnings on cuBLAS and cuRAND 2019-09-25 17:37:41 +03:00
foreman b92e7aa87e P4 to Git Change 2003672 by chui@ocl-promo-incrementor on 2019/09/25 03:00:41
SWDEV-2 - Change OpenCL version number from 3005 to 3006.

Affected files ...

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


[ROCm/clr commit: 55d9deabbe]
2019-09-25 03:10:12 -04:00
foreman 55d9deabbe P4 to Git Change 2003672 by chui@ocl-promo-incrementor on 2019/09/25 03:00:41
SWDEV-2 - Change OpenCL version number from 3005 to 3006.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2753 edit
2019-09-25 03:10:12 -04:00
Evgeny 482e665b2a roctacer mark fix
[ROCm/roctracer commit: 389496265e]
2019-09-24 20:35:58 -05:00
Evgeny 389496265e roctacer mark fix 2019-09-24 20:35:58 -05:00
Wenkai Du 57dcac6afe Only generate kernels for sum and copy
[ROCm/rccl commit: 61ef1dcad5]
2019-09-24 17:01:12 -07:00
Wenkai Du 61ef1dcad5 Only generate kernels for sum and copy 2019-09-24 17:01:12 -07:00
foreman 219beb4933 P4 to Git Change 2003445 by yaxunl@yaxunl-lc10 on 2019/09/24 16:56:01
SWDEV-145570 - Add new kernel launching API for hip-clang

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#28 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#41 edit


[ROCm/clr commit: 35c8a50c99]
2019-09-24 16:58:14 -04:00
foreman 35c8a50c99 P4 to Git Change 2003445 by yaxunl@yaxunl-lc10 on 2019/09/24 16:56:01
SWDEV-145570 - Add new kernel launching API for hip-clang

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#28 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#41 edit
2019-09-24 16:58:14 -04:00
foreman e858bf2abe P4 to Git Change 2003445 by yaxunl@yaxunl-lc10 on 2019/09/24 16:56:01
SWDEV-145570 - Add new kernel launching API for hip-clang

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#28 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#41 edit


[ROCm/hip commit: dc0b2a19cf]
2019-09-24 16:58:14 -04:00
foreman dc0b2a19cf P4 to Git Change 2003445 by yaxunl@yaxunl-lc10 on 2019/09/24 16:56:01
SWDEV-145570 - Add new kernel launching API for hip-clang

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#28 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#41 edit
2019-09-24 16:58:14 -04:00
foreman 148cdb533a P4 to Git Change 2003196 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/09/24 10:48:45
SWDEV-144570 - Implementing some Texture APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#17 edit


[ROCm/clr commit: 4f6bbfa473]
2019-09-24 10:57:33 -04:00
foreman 4f6bbfa473 P4 to Git Change 2003196 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/09/24 10:48:45
SWDEV-144570 - Implementing some Texture APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#17 edit
2019-09-24 10:57:33 -04:00
foreman f46e63c501 P4 to Git Change 2003196 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/09/24 10:48:45
SWDEV-144570 - Implementing some Texture APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#17 edit


[ROCm/hip commit: ecf4974f79]
2019-09-24 10:57:33 -04:00
foreman ecf4974f79 P4 to Git Change 2003196 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/09/24 10:48:45
SWDEV-144570 - Implementing some Texture APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#17 edit
2019-09-24 10:57:33 -04:00
Evgeny Mankov d26af0bb44 Merge pull request #1459 from emankov/hipify-clang
[HIPIFY] HipifyAction refactoring

[ROCm/clr commit: 0c87027f5b]
2019-09-24 10:37:44 +03:00
Evgeny Mankov 0c87027f5b Merge pull request #1459 from emankov/hipify-clang
[HIPIFY] HipifyAction refactoring
2019-09-24 10:37:44 +03:00
Evgeny Mankov f5a195bba1 Merge pull request #1459 from emankov/hipify-clang
[HIPIFY] HipifyAction refactoring

[ROCm/hip commit: e93e22fb66]
2019-09-24 10:37:44 +03:00
Evgeny Mankov e93e22fb66 Merge pull request #1459 from emankov/hipify-clang
[HIPIFY] HipifyAction refactoring
2019-09-24 10:37:44 +03:00
Evgeny Mankov 6fdfbb4062 [HIPIFY] HipifyAction refactoring
+ Merge of cudaSymbolFuncCall and cudaReinterpretCastArgFuncCall matchers into a single cudaHostFuncCall matcher
+ More const std::string declarations
+ Formatting


[ROCm/clr commit: 7c62b1b2d0]
2019-09-24 10:33:51 +03:00
Evgeny Mankov 7c62b1b2d0 [HIPIFY] HipifyAction refactoring
+ Merge of cudaSymbolFuncCall and cudaReinterpretCastArgFuncCall matchers into a single cudaHostFuncCall matcher
+ More const std::string declarations
+ Formatting
2019-09-24 10:33:51 +03:00
Evgeny Mankov a7e5c3a600 [HIPIFY] HipifyAction refactoring
+ Merge of cudaSymbolFuncCall and cudaReinterpretCastArgFuncCall matchers into a single cudaHostFuncCall matcher
+ More const std::string declarations
+ Formatting


[ROCm/hip commit: 84baa83a25]
2019-09-24 10:33:51 +03:00
Evgeny Mankov 84baa83a25 [HIPIFY] HipifyAction refactoring
+ Merge of cudaSymbolFuncCall and cudaReinterpretCastArgFuncCall matchers into a single cudaHostFuncCall matcher
+ More const std::string declarations
+ Formatting
2019-09-24 10:33:51 +03:00
foreman 4f99f73924 P4 to Git Change 2002945 by chui@ocl-promo-incrementor on 2019/09/24 03:00:50
SWDEV-2 - Change OpenCL version number from 3004 to 3005.

Affected files ...

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


[ROCm/clr commit: d03fb0d835]
2019-09-24 03:07:23 -04:00
foreman d03fb0d835 P4 to Git Change 2002945 by chui@ocl-promo-incrementor on 2019/09/24 03:00:50
SWDEV-2 - Change OpenCL version number from 3004 to 3005.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2752 edit
2019-09-24 03:07:23 -04:00
Evgeny Mankov 4de0a78095 Merge pull request #1458 from emankov/hipify-clang
[HIPIFY][#1439] Add reinterpret_cast to args of some functions

[ROCm/clr commit: 927ba00252]
2019-09-24 09:46:37 +03:00
Evgeny Mankov 927ba00252 Merge pull request #1458 from emankov/hipify-clang
[HIPIFY][#1439] Add reinterpret_cast to args of some functions
2019-09-24 09:46:37 +03:00
Evgeny Mankov c5932bb462 Merge pull request #1458 from emankov/hipify-clang
[HIPIFY][#1439] Add reinterpret_cast to args of some functions

[ROCm/hip commit: 71f3a1f438]
2019-09-24 09:46:37 +03:00
Evgeny Mankov 71f3a1f438 Merge pull request #1458 from emankov/hipify-clang
[HIPIFY][#1439] Add reinterpret_cast to args of some functions
2019-09-24 09:46:37 +03:00