Gráfico de commits

13197 Commits

Autor SHA1 Mensaje Fecha
Sarbojit2019 8a3c36a424 Revert [HIP] Fixed hipStreamAddCallback (#1674)
This reverts commit 97fca3439d.
Addresses SWDEV#212675.
2019-11-20 11:55:46 +05:30
foreman e3cee22eeb P4 to Git Change 2033170 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/19 13:26:16
SWDEV-212215 - HIP-VDI runtime should not lazy load device code objects
	Temporarly disable lazy load of code objects for debugger.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#49 edit
2019-11-19 13:34:00 -05:00
Jeff Daily dfaaf04611 hipStreamSynchronize can skip marker if stream is empty (#1667) 2019-11-19 09:42:43 -08:00
Rahul Garg fa1335f419 [dtest] Rename hipExtLaunchMultiKernelMultiDevice dtest (#1671) 2019-11-19 09:41:13 -08:00
foreman 410d09a835 P4 to Git Change 2032867 by chui@ocl-promo-incrementor on 2019/11/19 03:00:10
SWDEV-2 - Change OpenCL version number from 3041 to 3042.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2789 edit
2019-11-19 02:12:21 -06:00
Sameer Sahasrabuddhe e158b0b255 hostcall: add tests that are only used by the VDI build (#1664) 2019-11-18 19:52:40 -08:00
mhbliao a45de95113 Fix mathlib and app builds with hip-clang. (#1665) 2019-11-18 08:18:20 -08:00
foreman db3812e2ad P4 to Git Change 2031811 by chui@ocl-promo-incrementor on 2019/11/17 03:00:10
SWDEV-2 - Change OpenCL version number from 3040 to 3041.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2788 edit
2019-11-18 07:14:06 -05:00
Rahul Garg ff31f734fe Fix gcc build on NVCC path (#1661)
* Fix gcc build on NVCC path

* Fix CI build errors

* [dtest] Fix texture and surface obj2D tests
2019-11-18 12:19:22 +05:30
Nick Curtis cae9b13020 fix complex conjugate for double-complex (#1659)
The sign in the y component returned from hipConj incorrect for double-complex. Fix to match as in hipConjf above.
2019-11-18 12:19:12 +05:30
Sarbojit2019 7985ad218f Added null check in hipEventSynchronize (#1627)
* Added missing null check in hipEventSynchronize
* Minor correction in the Event API description
2019-11-18 12:18:55 +05:30
jiabaxie 7bbd420068 Updated hipEnvVarDriver to work with Windows (#1614)
* Updated hipEnvVarDriver to work with Windows

* Cleaned up a bit of code

* Fixed a part where putenv was used for both win and linux

* Defines moved to test_common.h and cleaned up code

* Cleaned up some macro defines and used const char instead

* Got rid of some excess commenting

* directory paths are unconditional

* Cleaned some duplicate code, and variables are now declared and defined together
2019-11-18 12:18:29 +05:30
kjayapra-amd 99da905509 [dtests] Fixing compilation error in saxpy.cpp (#1608) 2019-11-18 12:18:11 +05:30
Alex Voicu 355d0bdf95 Add support for extended launch syntax. (#1530)
* Add support for extended launch syntax.

* Add unit test.

* Fix typo

* hipExtLaunchKernelGGL lives in hip_ext.h

Change-Id: Ice32dab0d43475fda65c6a910c11416871a8f2ff

* [dtest] remove redundant include from hipModuleGetGlobal dtest
2019-11-16 22:24:07 -08:00
foreman 1ee794c7f3 P4 to Git Change 2031768 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/16 17:21:58
SWDEV-212440 - [HIP] Memory access fault observed on Pytorch while running performance tests with Microbenchmarking script
	We need to loop through all the default stream to sync them in case
	the app call hipFree on a different current stream and another current stream
	is using the memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#85 edit
2019-11-16 17:25:59 -05:00
foreman 86d28f8e69 P4 to Git Change 2031718 by chui@ocl-promo-incrementor on 2019/11/16 03:00:09
SWDEV-2 - Change OpenCL version number from 3039 to 3040.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2787 edit
2019-11-16 03:06:10 -05:00
foreman 58e4bca449 P4 to Git Change 2031605 by gandryey@gera-win10 on 2019/11/15 16:34:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Make sure transfer doesn't exceed CP dma limit

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#81 edit
2019-11-15 16:38:27 -05:00
foreman 1abf6a3655 P4 to Git Change 2031447 by gandryey@gera-win10 on 2019/11/15 13:01:06
SWDEV-79445 - OCL generic changes and code clean-up
	- Restore the original logic for PAL_DISABLE_SDMA

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#106 edit
2019-11-15 13:04:36 -05:00
foreman 465e4b302e P4 to Git Change 2031436 by gandryey@gera-win10 on 2019/11/15 12:23:57
SWDEV-79445 - OCL generic changes and code clean-up
	- Disable SDMA and use 32KB LDS for VanGoghLite

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#105 edit
2019-11-15 12:27:42 -05:00
foreman 1be3ca9196 P4 to Git Change 2031217 by chui@ocl-promo-incrementor on 2019/11/15 03:00:09
SWDEV-2 - Change OpenCL version number from 3038 to 3039.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2786 edit
2019-11-15 03:05:37 -05:00
Maneesh Gupta 4d0a234183 [ci] Fix failures on nvcc path (#1654)
Change-Id: I97f6b51314e14965618ab510bf57a2b034183e78
2019-11-15 07:58:40 +05:30
foreman 43f22ea424 P4 to Git Change 2030347 by chui@ocl-promo-incrementor on 2019/11/14 03:00:09
SWDEV-2 - Change OpenCL version number from 3037 to 3038.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2785 edit
2019-11-14 03:03:08 -05:00
Maneesh Gupta 5a03482690 [packaging] Conform to debian package naming rules (#1647)
* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility
2019-11-14 11:40:34 +05:30
foreman 8d29a5192d P4 to Git Change 2029899 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/13 12:29:19
SWDEV-144570 - Implementing ihipUnbindTextureImpl API.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#35 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#33 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#27 edit
2019-11-13 12:34:13 -05:00
Jenkins 574ec4298b Merge 'master' into 'amd-master'
Change-Id: I263f0f3c3e288df178a5313d2c142574a098dfa2
2019-11-13 05:10:40 -05:00
foreman 55ce170a7c P4 to Git Change 2029642 by chui@ocl-promo-incrementor on 2019/11/13 03:00:08
SWDEV-2 - Change OpenCL version number from 3036 to 3037.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2784 edit
2019-11-13 03:07:18 -05:00
foreman 6efa1d4655 P4 to Git Change 2029039 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/12 12:52:46
SWDEV-210844 - Implementing hipExtGetLinkTypeAndHopCount

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#344 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#44 edit
2019-11-12 12:55:17 -05:00
foreman b2f8050ede P4 to Git Change 2029039 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/12 12:52:46
SWDEV-210844 - Implementing hipExtGetLinkTypeAndHopCount

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#344 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#44 edit
2019-11-12 12:55:17 -05:00
foreman 9a4d0fea49 P4 to Git Change 2028995 by jatang@jatang_win_pal_lc on 2019/11/12 11:56:20
SWDEV-207835 - Implement uniform package versioning for cmake version of OpenCL.

	Need to generate the same style of packages name as the Makefile version does.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#29 edit
2019-11-12 12:04:53 -05:00
foreman 1927416168 P4 to Git Change 2028995 by jatang@jatang_win_pal_lc on 2019/11/12 11:56:20
SWDEV-207835 - Implement uniform package versioning for cmake version of OpenCL.

	Need to generate the same style of packages name as the Makefile version does.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#29 edit
2019-11-12 12:04:53 -05:00
Evgeny Mankov cf79be0f64 Merge pull request #1651 from emankov/hipify
[HIPIFY][doc] A few words about LLVM's FileCheck in README.md
2019-11-12 16:06:25 +03:00
Evgeny Mankov bb6f1648ec [HIPIFY][doc] A few words about LLVM's FileCheck in README.md 2019-11-12 16:04:28 +03:00
foreman 2a927f1c3b P4 to Git Change 2028744 by chui@ocl-promo-incrementor on 2019/11/12 03:00:07
SWDEV-2 - Change OpenCL version number from 3035 to 3036.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2783 edit
2019-11-12 03:07:45 -05:00
foreman 131437441e P4 to Git Change 2028285 by axie@axie-hip-rocm on 2019/11/11 12:03:24
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21
	Add #ifndef OPENCL_MAINLINE around Navi 21 source code. This is to facilitate Open Source preparation.

	Tests:
	http://ocltc.amd.com:8111/viewModification.html?modId=128639&personal=true&tab=vcsModificationBuilds

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#140 edit
2019-11-11 12:06:15 -05:00
Jenkins 316b792b09 Merge 'master' into 'amd-master'
Change-Id: I3e1ce565f4faaeb5b53d6f8c7a4023c498fbf621
2019-11-11 05:10:19 -05:00
Maneesh Gupta 0a2682625f Bump version to 3.0 (#1648)
Change-Id: Id1e6eb222080a339af938212e74a52c39c305eab
2019-11-10 20:23:58 -08:00
foreman eb364125d5 P4 to Git Change 2027775 by chui@ocl-promo-incrementor on 2019/11/09 03:00:06
SWDEV-2 - Change OpenCL version number from 3034 to 3035.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2782 edit
2019-11-09 03:13:41 -05:00
foreman 1f0d5016ed P4 to Git Change 2027470 by axie@axie-hip-rocm on 2019/11/08 13:48:51
SWDEV-198863 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB (phase 3)
	Use ClPrint to implement other log functions.
	Move some funtion to use new log functions.
	This is the final change of the JIRA.

	Tests:
	1. Linux HIP ROCM platform. VEGA10. Driver is release build.
	1.1 export LOG_LEVEL=3
	      ./hipModule
	      There are many logs.
	1.2 export GPU_LOG_MASK=0
	     ./hipModule
	     There is no log
	2. Windows HIP PAL platform. VEGA10, Driver is release build.
	2.1 set LOG_LEVEL=3
	    run test hipPrintfKernel
	    There are many logs
	2.2 set GPU_LOG_MASK=0
	    run test hipPrintfKernel
	    There is no log

	3. http://ocltc.amd.com:8111/viewModification.html?modId=128588&personal=true&tab=vcsModificationBuilds

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#177 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#14 edit
2019-11-08 13:54:34 -05:00
foreman 106f1cfef8 P4 to Git Change 2027394 by axie@axie-hip-rocm on 2019/11/08 11:33:17
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21
	Add IDs.

	Tests:
	http://ocltc.amd.com:8111/viewModification.html?modId=128585&personal=true&tab=vcsModificationBuilds
	http://ocltc.amd.com:8111/viewModification.html?modId=128554&personal=true&tab=vcsModificationBuilds
	http://ocltc.amd.com:8111/viewModification.html?modId=128550&personal=true&tab=vcsModificationBuilds

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#139 edit
2019-11-08 11:38:06 -05:00
foreman 73048b9aa1 P4 to Git Change 2027191 by chui@ocl-promo-incrementor on 2019/11/08 03:00:05
SWDEV-2 - Change OpenCL version number from 3033 to 3034.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2781 edit
2019-11-08 03:12:03 -05:00
foreman 7434cabbf7 P4 to Git Change 2026938 by axie@axie-hip-rocm on 2019/11/07 17:44:09
SWDEV-198859 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB

	There are regression caused by this change in ocltst test.
	Back out changelist 2026859

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#176 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#156 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#13 edit
2019-11-07 17:48:59 -05:00
foreman c10b29f0e0 P4 to Git Change 2026859 by axie@axie-hip-rocm on 2019/11/07 15:54:13
SWDEV-198863 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB (phase 3)
	Use ClPrint to implement other log functions.
	Move some funtion to use new log functions.
	This is the final change of the JIRA.

	Tests:
	1. Linux HIP ROCM platform. VEGA10. Driver is release build.
	1.1 export LOG_LEVEL=3
	      ./hipModule
	      There are many logs.
	1.2 export GPU_LOG_MASK=0
	     ./hipModule
	     There is no log
	2. Windows HIP PAL platform. VEGA10, Driver is release build.
	2.1 set LOG_LEVEL=3
	    run test hipPrintfKernel
	    There are many logs
	2.2 set GPU_LOG_MASK=0
	    run test hipPrintfKernel
	    There is no log

	3. http://ocltc.amd.com:8111/viewModification.html?modId=128490&personal=true&tab=vcsModificationBuilds

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#175 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#155 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#12 edit
2019-11-07 16:06:51 -05:00
Rahul Garg 4c73950e31 Merge pull request #1643 from mhbliao/hliao/master/remove.redundant.decl
Remove redundant declarations.
2019-11-07 11:16:40 -08:00
Michael LIAO d28ad401c9 Remove redundant declarations.
- The revised `hip/hip_ext.h` have that declarations.
2019-11-07 10:11:22 -05:00
Jenkins c96534901d Merge 'master' into 'amd-master'
Change-Id: Ia44cb648c8ae16ff424bcf64fb9a9338c7678c0c
2019-11-07 05:22:21 -05:00
Evgeny Mankov 806ae1f43e Merge pull request #1642 from emankov/hipify
[HIPIFY] Clang style formatting
2019-11-07 12:49:52 +03:00
Evgeny Mankov 7f143585f6 [HIPIFY] Clang style formatting 2019-11-07 12:48:05 +03:00
Evgeny Mankov 367261ea0e Merge pull request #1641 from emankov/hipify
[HIPIFY][fix] Abandon canCompileHostAndDeviceInOneJob check for --cuda-compile-host-device option
2019-11-07 11:35:15 +03:00
Evgeny Mankov 4d2424ad36 [HIPIFY][fix] Delete canCompileHostAndDeviceInOneJob declaration as well 2019-11-07 11:32:53 +03:00
Evgeny Mankov 21c3d25403 [HIPIFY][fix] Abandon canCompileHostAndDeviceInOneJob check for --cuda-compile-host-device option
[Reason] It turned out that it is not so: 2 jobs are always
2019-11-07 11:30:40 +03:00