Graf Tiomantas

13402 Tiomáintí

Údar SHA1 Teachtaireacht Dáta
foreman 5b3ddde1ce P4 to Git Change 1785966 by chui@ocl-promo-incrementor on 2019/05/22 03:00:06
SWDEV-2 - Change OpenCL version number from 2905 to 2906.

Affected files ...

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


[ROCm/clr commit: 064f5d2c01]
2019-05-22 03:13:17 -04:00
foreman b99732c017 P4 to Git Change 1785925 by skeely@skeely_LC_linux on 2019/05/21 23:23:32
SWDEV-190142 - Switch os::TimeNanos to use CLOCK_MONOTONIC_RAW.

	Avoids NTP adjustment and re-aligns CPU clock usage with ROCm.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#45 edit


[ROCm/clr commit: 163046cd23]
2019-05-21 23:48:30 -04:00
foreman a9e4b81b07 P4 to Git Change 1785707 by chesik@chesik_bdc-dtw-chesikw10_driver on 2019/05/21 15:03:23
SWDEV-189990, SWDEV-190337 - Update OpenCL/PAL gfx10 counter blocks again to match GPUPerfAPI.

	SWDEV-190337:
	  - Update the GFX10 block list (gfx10BlockIsPal) to match GPUPerfAPI, which expects the OpenCL block lists to match OpenGL (UGL). Note: The list now matches the expectations of GPUPerfAPI. For TA/TD/TCP, nearly all GFX10 ASICs only require 10 or 12 instances (Arden would require 14, Mero would require 8, but not sure if those are supported by OCL), but we are using 16 instances to match UGL.

	  - Make sure the blockIdToIndexSelect array contains all the blocks supported by PAL (add a static_assert to ensure this)

	  - Refactor the PCIndexSelect enum. This enum is used to determine how to sum up counters across multiple block instances. The following types are now supported:
	    Instance -- no autosumming; instances have a one-to-one correlation with PAL
	    ShaderEngine -- the block is instanced per shader engine, and OpenCL will autosum counters across all PAL instances, providing a single value for all of PAL's instances
	    ShaderArray -- the block is instanced per shader array, and OpenCL will autosum counters across shader arrays, providing a single value for each instance within a shader array. For example, if a block has four instances per shader array, PAL would expose 16 instances total on Navi10 (2 SEs, 2 SAs per SE), but OpenCL will expose four instances
	    ComputeUnit -- the block is instanced per compute unit, and OpenCL will autosum counters across shader arrays, providing a single value for each compute-unit-per-shader-array. For example, if a block is instanced per compute unit, then PAL would expose 40 instances on a 40CU Navi10. OpenCL would support 10 instances (2 CUs-per-WGP, 5 WGPs-per-SA), autosummed across shader arrays.

	SWDEV-189990:
	 - Revert GFX9 and GFX10 tests back to using the MCVML2 counter it was using previously (prior to CL 1766829).  This is counter index 2, which the test calls "BigK bank 0 hits".  In the aforementioned change list, I updated the counter index from 2 to 14, since index 14 is the actual counter that represents "BigK bank 0 hits".  Counter index 2 is the number of hits, not "bigK" hits. This previous change caused a test regression reported in SWDEV-189990. By reverting the code to use counter 2, the expected value in the test should be correct.  Perhaps a better update would be to change the description in the source from "BigK bank 0 hits" to "bank 0 hits", but for now, I'm just going to go back to what the test was doing before.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#47 edit


[ROCm/clr commit: fde741c2b4]
2019-05-21 16:07:56 -04:00
Konstantin Pyzhov bd9f78fe4e Updated kernel binary file for hipModule test.
[ROCm/clr commit: d2125f0325]
2019-05-21 13:21:48 -04:00
Maneesh Gupta e02fc91feb Merge pull request #1123 from emankov/master
[HIP][tests] Copyright notice update

[ROCm/clr commit: 7068859ff4]
2019-05-21 09:35:13 +05:30
Evgeny Mankov fef3e849eb [HIP][tests] Copyright notice update
[ROCm/clr commit: 7664560f14]
2019-05-20 18:46:23 +03:00
Evgeny Mankov 0c34f69f2f Merge pull request #1122 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample "peer2peer"

[ROCm/clr commit: be09662009]
2019-05-20 17:17:56 +03:00
Evgeny Mankov 3e0fa665f7 [HIPIFY][tests] Add reverse engineered HIP sample "peer2peer"
+ Fix typo in sample "stream"


[ROCm/clr commit: 5c205b75f5]
2019-05-20 17:16:11 +03:00
Evgeny Mankov 947555c6fe Merge pull request #1120 from emankov/master
[HIPIFY][doc] Update README.md

[ROCm/clr commit: 44f1be5a28]
2019-05-20 13:09:50 +03:00
Evgeny Mankov 45fd88e251 [HIPIFY][doc] Update README.md
+ Populate supported CUDA and LLVM releases with hyperlinks


[ROCm/clr commit: c3c42834ab]
2019-05-20 13:03:26 +03:00
foreman 0b1931f5af 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


[ROCm/clr commit: e5446b960b]
2019-05-20 03:21:53 -04:00
Konstantin Pyzhov 05746f20e9 Disable hipStreamSync2 test for hip-clang.
[ROCm/clr commit: adf3b8774e]
2019-05-20 02:13:30 -04:00
foreman 8454ed91b4 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


[ROCm/clr commit: db183b7033]
2019-05-19 03:16:23 -04:00
Jenkins ad8b2accd1 Merge 'master' into 'amd-master'
Change-Id: Ic1757967f5f1d7982fa304c84f8a4c923dd606c4


[ROCm/clr commit: 96f4b022ab]
2019-05-18 19:59:41 -07:00
foreman c7800aabc4 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


[ROCm/clr commit: 55fdfd9228]
2019-05-18 03:07:54 -04:00
foreman 21be61e078 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


[ROCm/clr commit: 22bd466daf]
2019-05-17 18:08:20 -04:00
Maneesh Gupta 713ff86eb0 Merge pull request #1118 from yxsamliu/fix-build-hiprtc
Fix build failure due to hiprtc for HIP-Clang

[ROCm/clr commit: 71143b426e]
2019-05-17 21:38:22 +05:30
Jenkins b9cb2ec991 Merge 'master' into 'amd-master'
Change-Id: I4189feaa83580761c6fb2d0b636040a40964cbeb


[ROCm/clr commit: 0d805b92be]
2019-05-17 10:50:29 -04:00
Yaxun Sam Liu c0a754b148 Fix build failure due to hiprtc for HIP-Clang
[ROCm/clr commit: d088a8c23b]
2019-05-17 09:52:43 -04:00
foreman 5c33b0db9d 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


[ROCm/clr commit: ab218e9710]
2019-05-17 03:11:59 -04:00
Aaron Enye Shi f4fa9d55f9 Fix hipcc exit code when failing
[ROCm/clr commit: 303ba600d6]
2019-05-16 20:36:58 +00:00
Evgeny Mankov 824d5d8792 Update README.md
[ROCm/clr commit: 633323c981]
2019-05-16 18:16:17 +03:00
Evgeny Mankov df5dbdd6a6 Merge pull request #1116 from emankov/master
[HIPIFY][doc] Update README.md

[ROCm/clr commit: ab865dbf0e]
2019-05-16 18:10:09 +03:00
Evgeny Mankov 71647e33bf [HIPIFY][doc] Update README.md
+ Update logs
+ Formatting


[ROCm/clr commit: df2a64cf0d]
2019-05-16 18:07:11 +03:00
Evgeny Mankov 9d0ac6be5e Merge pull request #1115 from emankov/master
[HIPIFY][cuDNN] Add cudnnGetFilter4dDescriptor support

[ROCm/clr commit: 21518887bc]
2019-05-16 16:39:34 +03:00
Evgeny Mankov 76c52aa429 [HIPIFY][cuDNN] Add cudnnGetFilter4dDescriptor support
+ Update cudnn_convolution_forward test accordingly


[ROCm/clr commit: 02f8dfe7d8]
2019-05-16 16:36:23 +03:00
Alex Voicu a4a3132c64 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


[ROCm/clr commit: a538eb705a]
2019-05-16 18:28:54 +05:30
Maneesh Gupta ef71f962f9 Merge pull request #1113 from wenkaidu/hop_count
Use NUMA distance for hop count calculation

[ROCm/clr commit: 3178ae2f92]
2019-05-16 14:16:29 +05:30
Maneesh Gupta 13f8cc0139 Merge pull request #1112 from kpyzhov/hipModule-test
Upload pre-built kernel binary for hipModule test.

[ROCm/clr commit: 8e9bc62f6e]
2019-05-16 14:16:18 +05:30
foreman 9596c6ea6b 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


[ROCm/clr commit: 544a731139]
2019-05-16 03:12:36 -04:00
foreman 775ae4f1f5 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


[ROCm/clr commit: 0ac6dcbd24]
2019-05-15 23:14:28 -04:00
Wenkai Du 3d75b10e0b Use NUMA distance for hop count calculation
[ROCm/clr commit: 56d2dc0022]
2019-05-15 21:50:35 +00:00
Evgeny Mankov 6ce0a62bb5 Merge pull request #1111 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample "stream"

[ROCm/clr commit: 43ad335d3c]
2019-05-15 20:18:51 +03:00
Evgeny Mankov 355f49a850 [HIPIFY][tests] Add reverse engineered HIP sample "stream"
+ Add additional checks for extern __shared__ due to [#1109]


[ROCm/clr commit: 7cc12df514]
2019-05-15 20:17:03 +03:00
Evgeny Mankov 2addee852a Merge pull request #1110 from emankov/master
[HIPIFY][fix][#1109] Do not preserve extern __shared__ for IncompleteArrayType

[ROCm/clr commit: de57a5ba62]
2019-05-15 20:09:00 +03:00
Evgeny Mankov bbe9275e38 [HIPIFY][fix][#1109] Do not preserve extern __shared__ for IncompleteArrayType
+ Update tests accordingly


[ROCm/clr commit: bf65120156]
2019-05-15 20:05:56 +03:00
foreman 5ff37a06a8 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


[ROCm/clr commit: 61bacfd131]
2019-05-15 12:22:50 -04:00
foreman 0e4baf14ed 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


[ROCm/clr commit: 38a5fe9b0a]
2019-05-15 12:17:35 -04:00
Konstantin Pyzhov 5bb9455f51 Upload pre-built kernel binary for hipModule test.
[ROCm/clr commit: 6242377a5c]
2019-05-15 07:19:40 -04:00
Jenkins dc634cc586 Merge 'master' into 'amd-master'
Change-Id: I15e04f87004767e238af9aa1ab9567921594d07f


[ROCm/clr commit: 6ffc5cb48f]
2019-05-15 05:45:15 -04:00
foreman 91e69cf454 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


[ROCm/clr commit: f3bd06370a]
2019-05-15 03:08:45 -04:00
Evgeny Mankov b866a2e1d1 Merge pull request #1104 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample Profiler

[ROCm/clr commit: a0f10ebaa2]
2019-05-14 16:59:36 +03:00
Evgeny Mankov 7a5a838e80 [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).


[ROCm/clr commit: 5e49c25faa]
2019-05-14 16:43:44 +03:00
Jenkins a84793b372 Merge 'master' into 'amd-master'
Change-Id: I476b12c4e051b47fb2e62dbea709d268d9a2f630


[ROCm/clr commit: b32578d5b9]
2019-05-14 02:12:10 -07:00
foreman 4eb93332cb 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


[ROCm/clr commit: 8cf04af915]
2019-05-14 04:09:13 -04:00
Evgeny Mankov a973fba09f Merge pull request #1102 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample hipEvent

[ROCm/clr commit: 5da723222e]
2019-05-13 22:14:41 +03:00
Evgeny Mankov 8c12edcf65 [HIPIFY][tests] Add reverse engineered HIP sample hipEvent
[ROCm/clr commit: 9860dac7fa]
2019-05-13 22:12:43 +03:00
Evgeny Mankov 612afc5fed Merge pull request #1101 from emankov/master
[HIPIFY][tests] Add reverse engineered HIP sample MatrixTranspose

[ROCm/clr commit: 4cf53fb09c]
2019-05-13 19:39:16 +03:00
emankov 39b28d7623 [HIPIFY][tests] Add reverse engineered HIP sample MatrixTranspose
[ROCm/clr commit: cdc76af186]
2019-05-13 19:37:18 +03:00
foreman 1a70f8e11f 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


[ROCm/clr commit: 523b233cb0]
2019-05-13 12:19:10 -04:00