Commit Graph

13474 Commits

Author SHA1 Message Date
Evgeny Mankov 6d61e02acb [HIPIFY][#1239] Fix an assert 2019-07-22 22:13:54 +03:00
foreman 615e8b4809 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
2019-07-22 14:21:39 -04:00
foreman cf1188fd7c 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
2019-07-22 13:51:28 -04:00
Jeff Daily 734c4b92c3 remove stream locks where it is safe to do so 2019-07-22 17:38:51 +00:00
foreman c7c15d7f89 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
2019-07-20 10:41:26 -04:00
foreman abb6a88458 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
2019-07-19 17:35:11 -04:00
Evgeny Mankov 452ce283c8 Merge pull request #1241 from emankov/cuDNN
[HIPIFY][#941][fix] Workaround for an assert on forbidden option "--"
2019-07-19 20:25:19 +03:00
Evgeny Mankov 14aad50e07 [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.
2019-07-19 20:23:17 +03:00
Yaxun (Sam) Liu 13301398d8 Temporarily disable maxTexture1D in hipDeviceProp_t for VDI (#1237) 2019-07-19 15:38:32 +00:00
Jenkins 527b73618d Merge 'master' into 'amd-master'
Change-Id: I79fe77319a0627dc35a1a88fe12f0e7115cd679f
2019-07-19 05:10:30 -04:00
foreman 26aff241a8 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
2019-07-19 02:04:58 -05:00
gilbertlee-amd 54ad90f2fa Fix Typo HipHostMemory to HipHostMalloc (#1236) 2019-07-19 04:46:07 +00:00
Maneesh Gupta af9aae6b4e [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
2019-07-19 04:45:56 +00:00
cdevadas fc0aca2a7d Increased the number of implicit-kernarg bytes to 56 (#1217) 2019-07-19 04:45:34 +00:00
ansurya f566bec546 [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
2019-07-19 04:45:20 +00:00
foreman b7ab73b6db 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
2019-07-18 18:18:09 -04:00
foreman 88227c7575 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
2019-07-18 16:23:50 -04:00
foreman b9897c0ba9 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
2019-07-18 14:57:53 -04:00
Jenkins 98ae8eca8f Merge 'master' into 'amd-master'
Change-Id: I143645ea2bd2c543f0d7ed736b4515c39ee2832b
2019-07-18 05:22:11 -04:00
foreman de80cb1189 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
2019-07-18 03:07:25 -04:00
wkwchau 6ec476e50a Fixed bug of determine max block size in hipOccupancyMaxPotentialBlockSize (#1235) 2019-07-18 03:19:29 +00:00
ansurya 00aa42e05f 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
2019-07-18 03:18:50 +00:00
ansurya 849b5ef6af 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
2019-07-18 03:18:28 +00:00
ansurya 12bf6dbcda HIPCommander code cleanup (#1207)
* HIPCommander code cleanup

* Removed non-used headerfiles

* Removed empty ifdef
2019-07-18 03:18:15 +00:00
Rahul Garg d2e8cdc8fb 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"
2019-07-18 03:18:04 +00:00
foreman 44401e2509 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
2019-07-17 16:32:02 -04:00
foreman fc2fbc008b 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
2019-07-17 16:25:45 -04:00
Jenkins 2fd26a68d0 Merge 'master' into 'amd-master'
Change-Id: I78adcf3c827842ae36df13a9a827da8f66a0c8ea
2019-07-17 13:28:40 -04:00
foreman 5781701a9c 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
2019-07-17 12:13:34 -04:00
Aryan Salmanpour 8b90a5d274 [hip] fix a bug where we parse kernel's arguments layout for a given kernel multiple times (#1232) 2019-07-17 07:29:07 +00:00
Evgeny Mankov ba87bcba5c [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.
2019-07-17 07:28:54 +00:00
Maneesh Gupta d206d66dfe [dtests] Fix typo in hipAPIStreamDisable.cpp (#1227)
Change-Id: Ib88a6be49ba192578129bb88ad09817839981398
2019-07-17 07:28:38 +00:00
Maneesh Gupta 4d2f2396aa [dtests] Temporarily disable failing tests (#1218)
Change-Id: I7bb36a964c635bfbdf67484f3454d8fff7168eb2
2019-07-17 07:28:21 +00:00
foreman c340320539 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
2019-07-17 03:07:31 -04:00
foreman d5b18e32f4 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
2019-07-16 17:59:51 -04:00
foreman 3ee86b8db7 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
2019-07-16 17:59:51 -04:00
foreman 8f1e23197a 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
2019-07-16 17:51:22 -04:00
foreman 3a8ab2a98e 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
2019-07-16 15:54:22 -04:00
foreman 582fae6820 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
2019-07-16 14:56:08 -04:00
foreman 901336f846 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
2019-07-16 12:46:10 -05:00
foreman b88bbb4a04 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
2019-07-16 13:40:40 -04:00
Evgeny Mankov c978af3b13 Merge pull request #1220 from emankov/master
[HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR
2019-07-16 18:15:44 +03:00
Jenkins 8b72e64937 Merge 'master' into 'amd-master'
Change-Id: I021bf2e7486a66cbf430e5282d7ad483813d5768
2019-07-16 05:25:42 -04:00
foreman fdaf34aab2 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
2019-07-15 03:05:41 -04:00
foreman 4879e4f63c 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
2019-07-13 03:03:55 -04:00
foreman 3669ba964e P4 to Git Change 1966866 by vsytchen@vsytchen-ocl-win10 on 2019/07/12 16:08:01
SWDEV-192353 - 12% Performance drop observed while running ROC_OCL_Perf_CompubenchCL_GPU_W64 only on Vega10 with Win7

	1. Reduce CmdAllocator sub-allocation size to 4KB.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#137 edit
2019-07-12 22:12:16 -04:00
Evgeny Mankov ee3045948e Merge pull request #1223 from emankov/cuDNN
[HIPIFY][doc] Update README.md: the latest cuDNN 7.6.1.34 is supported
2019-07-12 18:51:07 +03:00
Evgeny Mankov 608a2a1eb8 [HIPIFY][doc] Update README.md: the latest cuDNN 7.6.1.34 is supported 2019-07-12 18:49:54 +03:00
Evgeny Mankov 299fbd4842 [HIP] Fix segfault on uninitialized struct members in hipArrayCreate and hipArray3DCreate 2019-07-12 16:38:26 +03:00
Evgeny Mankov 02eb212e66 Merge pull request #1222 from emankov/perl
[HIPIFY][#1221] Add regex replacements for include refs with path separators while generating hipify-perl
2019-07-12 16:20:40 +03:00