Граф коммитов

13197 Коммитов

Автор SHA1 Сообщение Дата
Evgeny Mankov 7664560f14 [HIP][tests] Copyright notice update 2019-05-20 18:46:23 +03:00
Evgeny Mankov be09662009 Merge pull request #1122 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample "peer2peer"
2019-05-20 17:17:56 +03:00
Evgeny Mankov 5c205b75f5 [HIPIFY][tests] Add reverse engineered HIP sample "peer2peer"
+ Fix typo in sample "stream"
2019-05-20 17:16:11 +03:00
Evgeny Mankov 44f1be5a28 Merge pull request #1120 from emankov/master
[HIPIFY][doc] Update README.md
2019-05-20 13:09:50 +03:00
Evgeny Mankov c3c42834ab [HIPIFY][doc] Update README.md
+ Populate supported CUDA and LLVM releases with hyperlinks
2019-05-20 13:03:26 +03:00
foreman e5446b960b P4 to Git Change 1785103 by chui@ocl-promo-incrementor on 2019/05/20 03:00:04
SWDEV-2 - Change OpenCL version number from 2904 to 2905.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2652 edit
2019-05-20 03:21:53 -04:00
Konstantin Pyzhov adf3b8774e Disable hipStreamSync2 test for hip-clang. 2019-05-20 02:13:30 -04:00
foreman db183b7033 P4 to Git Change 1784979 by chui@ocl-promo-incrementor on 2019/05/19 03:00:03
SWDEV-2 - Change OpenCL version number from 2903 to 2904.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2651 edit
2019-05-19 03:16:23 -04:00
Jenkins 96f4b022ab Merge 'master' into 'amd-master'
Change-Id: Ic1757967f5f1d7982fa304c84f8a4c923dd606c4
2019-05-18 19:59:41 -07:00
foreman 55fdfd9228 P4 to Git Change 1784883 by chui@ocl-promo-incrementor on 2019/05/18 03:00:03
SWDEV-2 - Change OpenCL version number from 2902 to 2903.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2650 edit
2019-05-18 03:07:54 -04:00
foreman 22bd466daf P4 to Git Change 1784838 by gandryey@gera-win10 on 2019/05/17 17:36:58
SWDEV-189453 - [Navi10][OpenCl][x32][Converter] Process hang
	- Use the argument size from the caller. With LC path and 32 bit the both sizes are different and runtime has to use the caller's size, which matches the host bitness, because the optimized path updates 32 bit values only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#30 edit
2019-05-17 18:08:20 -04:00
Maneesh Gupta 71143b426e Merge pull request #1118 from yxsamliu/fix-build-hiprtc
Fix build failure due to hiprtc for HIP-Clang
2019-05-17 21:38:22 +05:30
Jenkins 0d805b92be Merge 'master' into 'amd-master'
Change-Id: I4189feaa83580761c6fb2d0b636040a40964cbeb
2019-05-17 10:50:29 -04:00
Yaxun Sam Liu d088a8c23b Fix build failure due to hiprtc for HIP-Clang 2019-05-17 09:52:43 -04:00
foreman ab218e9710 P4 to Git Change 1784378 by chui@ocl-promo-incrementor on 2019/05/17 03:00:03
SWDEV-2 - Change OpenCL version number from 2901 to 2902.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2649 edit
2019-05-17 03:11:59 -04:00
Aaron Enye Shi 303ba600d6 Fix hipcc exit code when failing 2019-05-16 20:36:58 +00:00
Evgeny Mankov 633323c981 Update README.md 2019-05-16 18:16:17 +03:00
Evgeny Mankov ab865dbf0e Merge pull request #1116 from emankov/master
[HIPIFY][doc] Update README.md
2019-05-16 18:10:09 +03:00
Evgeny Mankov df2a64cf0d [HIPIFY][doc] Update README.md
+ Update logs
+ Formatting
2019-05-16 18:07:11 +03:00
Evgeny Mankov 21518887bc Merge pull request #1115 from emankov/master
[HIPIFY][cuDNN] Add cudnnGetFilter4dDescriptor support
2019-05-16 16:39:34 +03:00
Evgeny Mankov 02f8dfe7d8 [HIPIFY][cuDNN] Add cudnnGetFilter4dDescriptor support
+ Update cudnn_convolution_forward test accordingly
2019-05-16 16:36:23 +03:00
Alex Voicu a538eb705a Add HIPRTC, glorious ersatz for NVRTC (#1097)
* Add ersatz for NVRTC.

* Fix extraneous paren and use correct namespace.

* Use lowerCamelCase (yuck, yuck) consistently.

* Link against FS when building hiprtc lib.

* Correctly mark Manipulators. Fix dual compile.

* Add unit tests. Extend HIT to accept linker options.

* Make sure the HIPRTC library is installed.

* Better logging. Try to auto-detect the target.

* Stop specifying the target explicitly.

* Add missing flavour of `hipModuleLaunchKernel`.

* Program was already destroyed.

* Don't use `--genco`. Fix mangled name trimming.

* Fix HIPRTC breakage due to upstream noise.

* [dtests] Replace RUN -> TEST in hiprtc tests

Change-Id: Ie499e92dfe4e5c94634b1c2b76cf52d241bcfea3

* [hit] Set HIP_PATH to HIP_ROOT_DIR for all tests

Change-Id: Ib0ad1f99bc71c03e363e055dd508a7a4a210680a
2019-05-16 18:28:54 +05:30
Maneesh Gupta 3178ae2f92 Merge pull request #1113 from wenkaidu/hop_count
Use NUMA distance for hop count calculation
2019-05-16 14:16:29 +05:30
Maneesh Gupta 8e9bc62f6e Merge pull request #1112 from kpyzhov/hipModule-test
Upload pre-built kernel binary for hipModule test.
2019-05-16 14:16:18 +05:30
foreman 544a731139 P4 to Git Change 1783724 by chui@ocl-promo-incrementor on 2019/05/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2900 to 2901.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2648 edit
2019-05-16 03:12:36 -04:00
foreman 0ac6dcbd24 P4 to Git Change 1783658 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/15 22:55:22
SWDEV-189541 - [HIP] Make sure maxSvmSize is power of two.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#136 edit
2019-05-15 23:14:28 -04:00
Wenkai Du 56d2dc0022 Use NUMA distance for hop count calculation 2019-05-15 21:50:35 +00:00
Evgeny Mankov 43ad335d3c Merge pull request #1111 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample "stream"
2019-05-15 20:18:51 +03:00
Evgeny Mankov 7cc12df514 [HIPIFY][tests] Add reverse engineered HIP sample "stream"
+ Add additional checks for extern __shared__ due to [#1109]
2019-05-15 20:17:03 +03:00
Evgeny Mankov de57a5ba62 Merge pull request #1110 from emankov/master
[HIPIFY][fix][#1109] Do not preserve extern __shared__ for IncompleteArrayType
2019-05-15 20:09:00 +03:00
Evgeny Mankov bf65120156 [HIPIFY][fix][#1109] Do not preserve extern __shared__ for IncompleteArrayType
+ Update tests accordingly
2019-05-15 20:05:56 +03:00
foreman 61bacfd131 P4 to Git Change 1783301 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/15 11:57:57
SWDEV-189488 - [HIP] Caffe2 TensorTest.TensorSerializationMultiDevices fails
	1. Make sure to set attributes->device to current device for host malloc'd
	2. Return hipSuccess for hipDeviceCanAccessPeer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_peer.cpp#4 edit
2019-05-15 12:22:50 -04:00
foreman 38a5fe9b0a P4 to Git Change 1783299 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/15 11:56:14
SWDEV-189541 - [HIP] Increase SVM size to 64Gb for HIP.
	Introducing HIP_SET_SVM_SIZE to set SVM size specifically for HIP.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#135 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#307 edit
2019-05-15 12:17:35 -04:00
Konstantin Pyzhov 6242377a5c Upload pre-built kernel binary for hipModule test. 2019-05-15 07:19:40 -04:00
Jenkins 6ffc5cb48f Merge 'master' into 'amd-master'
Change-Id: I15e04f87004767e238af9aa1ab9567921594d07f
2019-05-15 05:45:15 -04:00
foreman f3bd06370a P4 to Git Change 1783098 by chui@ocl-promo-incrementor on 2019/05/15 03:00:03
SWDEV-2 - Change OpenCL version number from 2899 to 2900.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2647 edit
2019-05-15 03:08:45 -04:00
Evgeny Mankov a0f10ebaa2 Merge pull request #1104 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample Profiler
2019-05-14 16:59:36 +03:00
Evgeny Mankov 5e49c25faa [HIPIFY][tests] Add reverse engineered HIP sample Profiler
+ Add missing cuda_profiler_api.h to hip/hip_profile.h transformation.
NOTE: HIP Profiler API is under development. This is NOT WORKING example.
TODO: Find out a way to generate HIP_SCOPED_MARKER, HIP_BEGIN_MARKER, HIP_END_MARKER, declared in hip/hip_profile.h in particular place (signatures are to obtain).
2019-05-14 16:43:44 +03:00
Jenkins b32578d5b9 Merge 'master' into 'amd-master'
Change-Id: I476b12c4e051b47fb2e62dbea709d268d9a2f630
2019-05-14 02:12:10 -07:00
foreman 8cf04af915 P4 to Git Change 1782395 by chui@ocl-promo-incrementor on 2019/05/14 03:00:05
SWDEV-2 - Change OpenCL version number from 2898 to 2899.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2646 edit
2019-05-14 04:09:13 -04:00
Evgeny Mankov 5da723222e Merge pull request #1102 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample hipEvent
2019-05-13 22:14:41 +03:00
Evgeny Mankov 9860dac7fa [HIPIFY][tests] Add reverse engineered HIP sample hipEvent 2019-05-13 22:12:43 +03:00
Evgeny Mankov 4cf53fb09c Merge pull request #1101 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample MatrixTranspose
2019-05-13 19:39:16 +03:00
emankov cdc76af186 [HIPIFY][tests] Add reverse engineered HIP sample MatrixTranspose 2019-05-13 19:37:18 +03:00
foreman 523b233cb0 P4 to Git Change 1781985 by gandryey@gera-win10 on 2019/05/13 11:54:40
SWDEV-189140 - Add P2P support in PAL path
	- PAL requires P2P resource open on the usage device. Add the new interface to open the resource
	- Add a hidden P2P device object creation into amd::Memory. It can be activated with OCL context that has a single device.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#337 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#136 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#109 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#306 edit
2019-05-13 12:19:10 -04:00
foreman e16de03a2e P4 to Git Change 1781985 by gandryey@gera-win10 on 2019/05/13 11:54:40
SWDEV-189140 - Add P2P support in PAL path
	- PAL requires P2P resource open on the usage device. Add the new interface to open the resource
	- Add a hidden P2P device object creation into amd::Memory. It can be activated with OCL context that has a single device.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_p2p_amd.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#337 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#136 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#109 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#306 edit
2019-05-13 12:19:10 -04:00
Jenkins b54dddb6e2 Merge 'master' into 'amd-master'
Change-Id: Ibca6232ef00edf0c11a5db5f6f10a5bcbb963625
2019-05-13 05:46:17 -04:00
Wen-Heng (Jack) Chung a4db991cbf Revert "HACK for SWDEV-173477" (#1004)
* Revert "HACK for SWDEV-173477"

This reverts commit cf7ad0f184.
2019-05-13 14:42:05 +05:30
Maneesh Gupta c9fdb42b91 Merge pull request #1083 from gargrahul/fix_hip_impl_visible_agents
Maintain HIP_VISIBLE_DEVICES for kernel launch
2019-05-13 14:20:18 +05:30
foreman 32135bf5cf P4 to Git Change 1781819 by chui@ocl-promo-incrementor on 2019/05/13 03:00:04
SWDEV-2 - Change OpenCL version number from 2897 to 2898.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2645 edit
2019-05-13 03:12:15 -04:00