Graphe des révisions

13402 Révisions

Auteur SHA1 Message Date
Paul Fultz II 29bb65f6e0 Fix helper header when using c++17 (#1666)
This will fix issue #1621. It also adds tests for is_callable with c++11, c++14, and c++17.

The fallback implementation was completely broken so I rewrote it so it pass the tests as well. This should be used instead of PR #1631.

[ROCm/clr commit: 57b1b03261]
2019-11-20 21:33:42 +05:30
Alex Voicu 5c27a4f570 Extend vector type capabilities and add tests to reflect it. (#1656)
[ROCm/clr commit: c383f20691]
2019-11-20 21:32:32 +05:30
foreman fe6cb4f1f1 P4 to Git Change 2033779 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/20 07:17:56
SWDEV-144570 - Update function global during hipModuleLoad.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#35 edit


[ROCm/clr commit: 06167b8112]
2019-11-20 07:24:20 -05:00
foreman 98aef4161f P4 to Git Change 2033779 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/20 07:17:56
SWDEV-144570 - Update function global during hipModuleLoad.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#35 edit


[ROCm/clr commit: 07d13a34d9]
2019-11-20 07:24:20 -05:00
foreman f75935f276 P4 to Git Change 2033674 by chui@ocl-promo-incrementor on 2019/11/20 03:00:10
SWDEV-2 - Change OpenCL version number from 3042 to 3043.

Affected files ...

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


[ROCm/clr commit: cd6595375b]
2019-11-20 03:07:23 -05:00
Sarbojit2019 2c00d66995 Revert [HIP] Fixed hipStreamAddCallback (#1674)
This reverts commit 4d0b7e65bb.
Addresses SWDEV#212675.

[ROCm/clr commit: 8a3c36a424]
2019-11-20 11:55:46 +05:30
foreman 6dbc4a84c8 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


[ROCm/clr commit: e3cee22eeb]
2019-11-19 13:34:00 -05:00
Jeff Daily 58d1ae32ee hipStreamSynchronize can skip marker if stream is empty (#1667)
[ROCm/clr commit: dfaaf04611]
2019-11-19 09:42:43 -08:00
Rahul Garg 6813f0436c [dtest] Rename hipExtLaunchMultiKernelMultiDevice dtest (#1671)
[ROCm/clr commit: fa1335f419]
2019-11-19 09:41:13 -08:00
foreman f91ff4c35c 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


[ROCm/clr commit: 410d09a835]
2019-11-19 02:12:21 -06:00
Sameer Sahasrabuddhe 82aa679a6d hostcall: add tests that are only used by the VDI build (#1664)
[ROCm/clr commit: e158b0b255]
2019-11-18 19:52:40 -08:00
mhbliao e9f9ecd519 Fix mathlib and app builds with hip-clang. (#1665)
[ROCm/clr commit: a45de95113]
2019-11-18 08:18:20 -08:00
foreman 8f3ade819f 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


[ROCm/clr commit: db3812e2ad]
2019-11-18 07:14:06 -05:00
Rahul Garg f524f75b69 Fix gcc build on NVCC path (#1661)
* Fix gcc build on NVCC path

* Fix CI build errors

* [dtest] Fix texture and surface obj2D tests


[ROCm/clr commit: ff31f734fe]
2019-11-18 12:19:22 +05:30
Nick Curtis 5875d98e6f 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.

[ROCm/clr commit: cae9b13020]
2019-11-18 12:19:12 +05:30
Sarbojit2019 7d5bc56ab7 Added null check in hipEventSynchronize (#1627)
* Added missing null check in hipEventSynchronize
* Minor correction in the Event API description


[ROCm/clr commit: 7985ad218f]
2019-11-18 12:18:55 +05:30
jiabaxie de260a6d60 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


[ROCm/clr commit: 7bbd420068]
2019-11-18 12:18:29 +05:30
kjayapra-amd fffdd3da8d [dtests] Fixing compilation error in saxpy.cpp (#1608)
[ROCm/clr commit: 99da905509]
2019-11-18 12:18:11 +05:30
Alex Voicu f48b38b0ed 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


[ROCm/clr commit: 355d0bdf95]
2019-11-16 22:24:07 -08:00
foreman bf1cadce37 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


[ROCm/clr commit: 1ee794c7f3]
2019-11-16 17:25:59 -05:00
foreman bb30f84734 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


[ROCm/clr commit: 86d28f8e69]
2019-11-16 03:06:10 -05:00
foreman b3845c96ea 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


[ROCm/clr commit: 58e4bca449]
2019-11-15 16:38:27 -05:00
foreman edc2a43dbc 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


[ROCm/clr commit: 1abf6a3655]
2019-11-15 13:04:36 -05:00
foreman 3f2356cbde 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


[ROCm/clr commit: 465e4b302e]
2019-11-15 12:27:42 -05:00
foreman e9256612a0 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


[ROCm/clr commit: 1be3ca9196]
2019-11-15 03:05:37 -05:00
Maneesh Gupta 57225de63f [ci] Fix failures on nvcc path (#1654)
Change-Id: I97f6b51314e14965618ab510bf57a2b034183e78

[ROCm/clr commit: 4d0a234183]
2019-11-15 07:58:40 +05:30
foreman 72a3d19715 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


[ROCm/clr commit: 43f22ea424]
2019-11-14 03:03:08 -05:00
Maneesh Gupta 71be7baece [packaging] Conform to debian package naming rules (#1647)
* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility


[ROCm/clr commit: 5a03482690]
2019-11-14 11:40:34 +05:30
foreman 2302d3f1cd 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


[ROCm/clr commit: 8d29a5192d]
2019-11-13 12:34:13 -05:00
Jenkins fb29b6821e Merge 'master' into 'amd-master'
Change-Id: I263f0f3c3e288df178a5313d2c142574a098dfa2


[ROCm/clr commit: 574ec4298b]
2019-11-13 05:10:40 -05:00
foreman 2f521c7fd7 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


[ROCm/clr commit: 55ce170a7c]
2019-11-13 03:07:18 -05:00
foreman 8ede471148 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


[ROCm/clr commit: 6efa1d4655]
2019-11-12 12:55:17 -05:00
foreman 54f7061802 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


[ROCm/clr commit: b2f8050ede]
2019-11-12 12:55:17 -05:00
foreman 1ff7032645 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


[ROCm/clr commit: 9a4d0fea49]
2019-11-12 12:04:53 -05:00
foreman 690db13054 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


[ROCm/clr commit: 1927416168]
2019-11-12 12:04:53 -05:00
Evgeny Mankov 5cd24367d5 Merge pull request #1651 from emankov/hipify
[HIPIFY][doc] A few words about LLVM's FileCheck in README.md

[ROCm/clr commit: cf79be0f64]
2019-11-12 16:06:25 +03:00
Evgeny Mankov ed11ec3fa9 [HIPIFY][doc] A few words about LLVM's FileCheck in README.md
[ROCm/clr commit: bb6f1648ec]
2019-11-12 16:04:28 +03:00
foreman 4f1cdf92aa 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


[ROCm/clr commit: 2a927f1c3b]
2019-11-12 03:07:45 -05:00
foreman 329ccad8c9 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


[ROCm/clr commit: 131437441e]
2019-11-11 12:06:15 -05:00
Jenkins 51f6dcd750 Merge 'master' into 'amd-master'
Change-Id: I3e1ce565f4faaeb5b53d6f8c7a4023c498fbf621


[ROCm/clr commit: 316b792b09]
2019-11-11 05:10:19 -05:00
Maneesh Gupta ca9eb34000 Bump version to 3.0 (#1648)
Change-Id: Id1e6eb222080a339af938212e74a52c39c305eab

[ROCm/clr commit: 0a2682625f]
2019-11-10 20:23:58 -08:00
foreman ac17b22686 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


[ROCm/clr commit: eb364125d5]
2019-11-09 03:13:41 -05:00
foreman 9eda8a1ffc 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


[ROCm/clr commit: 1f0d5016ed]
2019-11-08 13:54:34 -05:00
foreman d82a9c6eac 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


[ROCm/clr commit: 106f1cfef8]
2019-11-08 11:38:06 -05:00
foreman 8f99c9552c 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


[ROCm/clr commit: 73048b9aa1]
2019-11-08 03:12:03 -05:00
foreman c9167c3f42 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


[ROCm/clr commit: 7434cabbf7]
2019-11-07 17:48:59 -05:00
foreman c3c87af67d 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


[ROCm/clr commit: c10b29f0e0]
2019-11-07 16:06:51 -05:00
Rahul Garg c03f67dfbf Merge pull request #1643 from mhbliao/hliao/master/remove.redundant.decl
Remove redundant declarations.

[ROCm/clr commit: 4c73950e31]
2019-11-07 11:16:40 -08:00
Michael LIAO a10e227b56 Remove redundant declarations.
- The revised `hip/hip_ext.h` have that declarations.


[ROCm/clr commit: d28ad401c9]
2019-11-07 10:11:22 -05:00
Jenkins bbc204573c Merge 'master' into 'amd-master'
Change-Id: Ia44cb648c8ae16ff424bcf64fb9a9338c7678c0c


[ROCm/clr commit: c96534901d]
2019-11-07 05:22:21 -05:00