Commit gráf

11608 Commit-ok

Szerző SHA1 Üzenet Dátum
Aaron Enye Shi 99ca4c2483 Fix hipMemcpy-size test running out of Host Mem (#1224)
* Fix hipMemcpy-size test running out of Host Mem

The hipMemcpy-size uses a maxElem calculated from the total GPU mem /8. Then it will allocate 4 times that amount of host memory. This tests begins failing when there is not enough host memory, such as on systems with 32GB GPU mem, and 16GB RAM. This fixes the test if not enough host memory is available on the system.

* Add windows support to hipMemcpy-size fix

* avoid linking extra libs for windows

* HIPMemcpy-size Remove freeCPU including swap


[ROCm/clr commit: c56876cc19]
2019-07-24 07:49:20 +00:00
foreman c3b79ec4cd P4 to Git Change 1972672 by chui@ocl-promo-incrementor on 2019/07/24 03:00:14
SWDEV-2 - Change OpenCL version number from 2954 to 2955.

Affected files ...

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


[ROCm/clr commit: aee60ac29d]
2019-07-24 03:04:24 -04:00
foreman 2dd1cc9436 P4 to Git Change 1972494 by kjayapra@0_HIPWS_P2P1_ROCM on 2019/07/23 20:01:13
SWDEV-144570 - Handling variable register during hipModuleLoad.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#30 edit


[ROCm/clr commit: 7edcf4b581]
2019-07-23 20:09:59 -04:00
foreman d2a66bfa03 P4 to Git Change 1972494 by kjayapra@0_HIPWS_P2P1_ROCM on 2019/07/23 20:01:13
SWDEV-144570 - Handling variable register during hipModuleLoad.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#30 edit


[ROCm/clr commit: 36f69cbf76]
2019-07-23 20:09:59 -04:00
foreman b56773c890 P4 to Git Change 1972329 by cpaquot@cpaquot-ocl-lc-lnx on 2019/07/23 15:16:26
SWDEV-197168 - [HIP] handle width or height or src or dst being 0

Affected files ...

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


[ROCm/clr commit: fed540ab47]
2019-07-23 15:18:51 -04:00
Evgeny Mankov 267c313862 [HIPIFY][doc] Update Readme.md
+ 8.0.1 - is the latest supported clang version on Linux
+ Testing update


[ROCm/clr commit: 682f1301bd]
2019-07-23 19:30:57 +03:00
Evgeny Mankov 493afd57d7 HIPIFY] Clang 8.0.1 support
+ Tested on Windows and Linux;
+ Provide patch for clang's bug 38811;
+ Update Readme.md accordingly.

P.S.
With the next 9.0.0 release patches for Windows won't be needed, cause all fixes will be there.


[ROCm/clr commit: deb4325372]
2019-07-23 19:18:17 +03:00
foreman d027362158 P4 to Git Change 1971870 by chui@ocl-promo-incrementor on 2019/07/23 03:00:14
SWDEV-2 - Change OpenCL version number from 2953 to 2954.

Affected files ...

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


[ROCm/clr commit: 0249ed9bc3]
2019-07-23 03:03:27 -04:00
foreman 65dbba594d P4 to Git Change 1971654 by kzhuravl@kzhuravl-spot-ocl on 2019/07/22 17:15:57
SWDEV-79445 - Bring cmake related changes from git

	http://git.amd.com:8080/c/compute/ec/opencl/+/229473
	http://git.amd.com:8080/c/compute/ec/opencl/+/229474
	http://git.amd.com:8080/c/compute/ec/opencl/+/233268

	+

	Payam's changes for comgr

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#24 edit
... //depot/stg/opencl/drivers/opencl/DEB/postinst#1 add
... //depot/stg/opencl/drivers/opencl/DEB/prerm#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_post#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_postun#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#18 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#3 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCT.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#20 edit


[ROCm/clr commit: 29a575e268]
2019-07-22 17:19:35 -04:00
foreman 39c000fcfb P4 to Git Change 1971654 by kzhuravl@kzhuravl-spot-ocl on 2019/07/22 17:15:57
SWDEV-79445 - Bring cmake related changes from git

	http://git.amd.com:8080/c/compute/ec/opencl/+/229473
	http://git.amd.com:8080/c/compute/ec/opencl/+/229474
	http://git.amd.com:8080/c/compute/ec/opencl/+/233268

	+

	Payam's changes for comgr

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#24 edit
... //depot/stg/opencl/drivers/opencl/DEB/postinst#1 add
... //depot/stg/opencl/drivers/opencl/DEB/prerm#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_post#1 add
... //depot/stg/opencl/drivers/opencl/RPM/rpm_postun#1 add
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#18 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#3 edit
... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCT.cmake#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#20 edit


[ROCm/clr commit: b21a094a92]
2019-07-22 17:19:35 -04:00
Evgeny Mankov 24277696ab [HIPIFY][#1239] Fix an assert
[ROCm/clr commit: 6d61e02acb]
2019-07-22 22:13:54 +03:00
foreman b29ee85dce P4 to Git Change 1971182 by chui@ocl-promo-incrementor on 2019/07/22 03:00:14
SWDEV-2 - Change OpenCL version number from 2952 to 2953.

Affected files ...

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


[ROCm/clr commit: 615e8b4809]
2019-07-22 14:21:39 -04:00
foreman 640e79aded P4 to Git Change 1971058 by chui@ocl-promo-incrementor on 2019/07/21 03:00:13
SWDEV-2 - Change OpenCL version number from 2951 to 2952.

Affected files ...

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


[ROCm/clr commit: cf1188fd7c]
2019-07-22 13:51:28 -04:00
Jeff Daily df457ce2bd remove stream locks where it is safe to do so
[ROCm/clr commit: 734c4b92c3]
2019-07-22 17:38:51 +00:00
foreman b5229be733 P4 to Git Change 1971013 by chui@ocl-promo-incrementor on 2019/07/20 03:00:12
SWDEV-2 - Change OpenCL version number from 2950 to 2951.

Affected files ...

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


[ROCm/clr commit: c7c15d7f89]
2019-07-20 10:41:26 -04:00
foreman 37836c8baa P4 to Git Change 1970940 by vsytchen@vsytchen-remote-ocl-win10 on 2019/07/19 17:25:51
SWDEV-196420 - Enable NV12 for OpenCL mainline

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#83 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#44 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#57 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#149 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#91 integrate


[ROCm/clr commit: abb6a88458]
2019-07-19 17:35:11 -04:00
Evgeny Mankov 1f4954ca79 [HIPIFY][#941][fix] Workaround for an assert on forbidden option "--"
+ Fixes the following assert in debug version:
Assertion failed: (S.empty() || S[0] != '-') && "Option can't start with '-", file C:\GIT\LLVM\trunk-for-submits\llvm-project\llvm\lib\Support\CommandLine.cpp, line 440
+ DashDash option left declared in order to be listed in help.


[ROCm/clr commit: 14aad50e07]
2019-07-19 20:23:17 +03:00
Yaxun (Sam) Liu 16632b627c Temporarily disable maxTexture1D in hipDeviceProp_t for VDI (#1237)
[ROCm/clr commit: 13301398d8]
2019-07-19 15:38:32 +00:00
foreman 1424e4d5b1 P4 to Git Change 1970403 by chui@ocl-promo-incrementor on 2019/07/19 03:00:12
SWDEV-2 - Change OpenCL version number from 2949 to 2950.

Affected files ...

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


[ROCm/clr commit: 26aff241a8]
2019-07-19 02:04:58 -05:00
gilbertlee-amd 71f87c218e Fix Typo HipHostMemory to HipHostMalloc (#1236)
[ROCm/clr commit: 54ad90f2fa]
2019-07-19 04:46:07 +00:00
Maneesh Gupta f0f831daa7 [hit] Workaround for %cc and %cxx mappings. (#1233)
* [hit] Workaround for %cc and %cxx mappings.

HIP CMakeLists.txt modifies CMAKE_C_COMPILER and CMAKE_CXX_COMPILER.
This messes up any dtests that want to test against cc/c++.

So hardcode %cc to /usr/bin/cc and %cxx to /usr/bin/c++ for now till
we come up with a better solution.

Change-Id: I7dce93ce8360191e612a94e3a735e5612ac27ab5

* [hit] Add auto-variable %hip-path to syntax for BUILD_CMD

Change-Id: Id097a183fbce2b2c9691d0180d3304dd17a4e016


[ROCm/clr commit: af9aae6b4e]
2019-07-19 04:45:56 +00:00
cdevadas 35f0fb2916 Increased the number of implicit-kernarg bytes to 56 (#1217)
[ROCm/clr commit: fc0aca2a7d]
2019-07-19 04:45:34 +00:00
ansurya af2df395a0 [HIP][Tests] Added new testcases for Module API (#1150)
* [HIP][tests] New testcases for module api

* [HIP][Tests]Support for CUDA devices

* Updated tests as per latest master & test GetGlobal to work on all platforms


[ROCm/clr commit: f566bec546]
2019-07-19 04:45:20 +00:00
foreman d922e67ee4 P4 to Git Change 1970157 by gandryey@gera-win10 on 2019/07/18 18:06:12
SWDEV-189140 - Add P2P support in PAL path
	- Don't add host mem direct access flag for P2P buffers
	- Avoid sync cocherency logic for P2P buffers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#13 edit


[ROCm/clr commit: b7ab73b6db]
2019-07-18 18:18:09 -04:00
foreman 24cb490f35 P4 to Git Change 1970044 by gandryey@gera-win10 on 2019/07/18 16:19:22
SWDEV-189787 - [NWNIT] WX9100 crashing under heavy load in Agisoft
	- Don't report SPIR extension, since HSAIL doesn't support it

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#90 edit


[ROCm/clr commit: 88227c7575]
2019-07-18 16:23:50 -04:00
foreman d893fa6730 P4 to Git Change 1969954 by gandryey@gera-win10 on 2019/07/18 14:55:51
SWDEV-196199 - [Navi10] Corruption is observed when running Premier Pro Benchmarks using Adobe Premier Pro 2019
	- In addition to CL#1968527.  Add an extra transfer in the case the app reads image without kernel execution

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#139 edit


[ROCm/clr commit: b9897c0ba9]
2019-07-18 14:57:53 -04:00
foreman a4bafe4b9a P4 to Git Change 1969548 by chui@ocl-promo-incrementor on 2019/07/18 03:00:12
SWDEV-2 - Change OpenCL version number from 2948 to 2949.

Affected files ...

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


[ROCm/clr commit: de80cb1189]
2019-07-18 03:07:25 -04:00
wkwchau d20537e595 Fixed bug of determine max block size in hipOccupancyMaxPotentialBlockSize (#1235)
[ROCm/clr commit: 6ec476e50a]
2019-07-18 03:19:29 +00:00
ansurya 8b8946f78b Add Max Texture 1D,2D,3D device properties (#1226)
* Add Max Texture 1D,2D,3D device properties

* Corrected testcase to use enums defined in hipDeviceAttribute_t

* Added texture 1D,2D and 3D support for NVIDIA path


[ROCm/clr commit: 00aa42e05f]
2019-07-18 03:18:50 +00:00
ansurya 264df316ba UChar and UShort textures as Normalized Float (#1213)
* UChar and UShort textures as Normalized Float

* UChar and UShort textures as Normalized Float for all float variants

* Handled uninitilaized texture format value


[ROCm/clr commit: 849b5ef6af]
2019-07-18 03:18:28 +00:00
ansurya aa8224417e HIPCommander code cleanup (#1207)
* HIPCommander code cleanup

* Removed non-used headerfiles

* Removed empty ifdef


[ROCm/clr commit: 12bf6dbcda]
2019-07-18 03:18:15 +00:00
Rahul Garg d92afe2277 Fix HIP_VISIBLE_DEVICES order (#1184)
* Fix HIP_VISIBLE_DEVICES order

* Fix device IDs mismatch

* Fix review comments- loop order and device range check

* Handle incomplete VISIBLE device env variable

* Revert "Handle incomplete VISIBLE device env variable"


[ROCm/clr commit: d2e8cdc8fb]
2019-07-18 03:18:04 +00:00
foreman e4f4426ced P4 to Git Change 1969318 by jatang@jatang_win_pal_lc on 2019/07/17 16:23:50
SWDEV-174198 - Put back the fix of segfault running integer_ops.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#80 edit


[ROCm/clr commit: 44401e2509]
2019-07-17 16:32:02 -04:00
foreman 7668f821e9 P4 to Git Change 1969315 by jatang@jatang_win_pal_lc on 2019/07/17 16:21:22
SWDEV-174198 - Properly init the vgpuAccess_ lock.

	To allow recursion.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#131 edit


[ROCm/clr commit: fc2fbc008b]
2019-07-17 16:25:45 -04:00
foreman 2cfb7d6fdd P4 to Git Change 1969076 by jatang@jatang_win_pal_lc on 2019/07/17 12:10:15
SWDEV-174198 - Back out changelist 1968648.

	Since it causes soft-hang in multiple_device_context test.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#79 edit


[ROCm/clr commit: 5781701a9c]
2019-07-17 12:13:34 -04:00
Aryan Salmanpour a4992850d8 [hip] fix a bug where we parse kernel's arguments layout for a given kernel multiple times (#1232)
[ROCm/clr commit: 8b90a5d274]
2019-07-17 07:29:07 +00:00
Evgeny Mankov d7600871ad [HIPIFY][bash] Make 'find' sorted by extension (#1231)
+ Source files are the first to go. It is needed for in-place hipification in order to avoid errors with included but already hipified header files.
+ More extensions support for batch processing.

[ROCm/clr commit: ba87bcba5c]
2019-07-17 07:28:54 +00:00
Maneesh Gupta 61833b948d [dtests] Fix typo in hipAPIStreamDisable.cpp (#1227)
Change-Id: Ib88a6be49ba192578129bb88ad09817839981398

[ROCm/clr commit: d206d66dfe]
2019-07-17 07:28:38 +00:00
Maneesh Gupta ccf76633f9 [dtests] Temporarily disable failing tests (#1218)
Change-Id: I7bb36a964c635bfbdf67484f3454d8fff7168eb2

[ROCm/clr commit: 4d2f2396aa]
2019-07-17 07:28:21 +00:00
foreman 6475ecdbf5 P4 to Git Change 1968803 by chui@ocl-promo-incrementor on 2019/07/17 03:00:12
SWDEV-2 - Change OpenCL version number from 2947 to 2948.

Affected files ...

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


[ROCm/clr commit: c340320539]
2019-07-17 03:07:31 -04:00
foreman e373f03ca8 P4 to Git Change 1968653 by marsenau@marsenau-fiji on 2019/07/16 17:57:30
SWDEV-79445 - Don't use amdgizcl. This has been unnecessary for a long time.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#23 edit


[ROCm/clr commit: d5b18e32f4]
2019-07-16 17:59:51 -04:00
foreman 58f0e884a3 P4 to Git Change 1968653 by marsenau@marsenau-fiji on 2019/07/16 17:57:30
SWDEV-79445 - Don't use amdgizcl. This has been unnecessary for a long time.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#23 edit


[ROCm/clr commit: 3ee86b8db7]
2019-07-16 17:59:51 -04:00
foreman 9955bcff65 P4 to Git Change 1968648 by jatang@jatang_win_pal_lc on 2019/07/16 17:42:09
SWDEV-174198 - Fix segfault running integer_ops.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#78 edit


[ROCm/clr commit: 8f1e23197a]
2019-07-16 17:51:22 -04:00
foreman d1a3a88f40 P4 to Git Change 1968576 by cpaquot@cpaquot-ocl-lc-lnx on 2019/07/16 15:48:18
SWDEV-145570 - [HIP] update code after header change

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#12 edit


[ROCm/clr commit: 3a8ab2a98e]
2019-07-16 15:54:22 -04:00
foreman c1063c0ea1 P4 to Git Change 1968527 by gandryey@gera-win10 on 2019/07/16 14:52:45
SWDEV-195023 - [CQE OCL][Navi10][RESOLVE] corruption seen in thumbnail for mxf clip after enabling temporal denoiser in Davinci resolve app
	- Add a workaround for missing custom pitch in gfx10 HW. It can be disabled with GPU_IMAGE_BUFFER_WAR=0. Workaround implements double copy with an image without pitch.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#313 edit


[ROCm/clr commit: 582fae6820]
2019-07-16 14:56:08 -04:00
foreman 4d73993230 P4 to Git Change 1968451 by vsytchen@vsytchen-remote-ocl-win10 on 2019/07/16 13:33:33
SWDEV-79445 - OCL generic changes and code clean-up

	1. Remove redundant spillSegmentByteSize_ member

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#29 edit


[ROCm/clr commit: 901336f846]
2019-07-16 12:46:10 -05:00
foreman 7a8f15e0dc P4 to Git Change 1968449 by vsytchen@vsytchen-remote-ocl-win10 on 2019/07/16 13:32:58
SWDEV-79445 - OCL generic changes and code clean-up

	1. Fill out out NULL entries in the cltrace dispatch table with original api calls.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd_amd.h#21 edit
... //depot/stg/opencl/drivers/opencl/tools/cltrace/cltrace.cpp#16 edit


[ROCm/clr commit: b88bbb4a04]
2019-07-16 13:40:40 -04:00
Evgeny Mankov 096aad2de2 Merge pull request #1220 from emankov/master
[HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR

[ROCm/clr commit: c978af3b13]
2019-07-16 18:15:44 +03:00
foreman 6496366a8e P4 to Git Change 1967296 by chui@ocl-promo-incrementor on 2019/07/15 03:00:11
SWDEV-2 - Change OpenCL version number from 2946 to 2947.

Affected files ...

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


[ROCm/clr commit: fdaf34aab2]
2019-07-15 03:05:41 -04:00
foreman 67d0000dd7 P4 to Git Change 1967012 by chui@ocl-promo-incrementor on 2019/07/13 03:00:10
SWDEV-2 - Change OpenCL version number from 2945 to 2946.

Affected files ...

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


[ROCm/clr commit: 4879e4f63c]
2019-07-13 03:03:55 -04:00