Commit graph

13402 Commits

Autor SHA1 Nachricht Datum
Jenkins 6430e026d5 Merge 'master' into 'amd-master'
Change-Id: Ibf8b204bd411b938bfc5bbaf7c26823a028e81ad


[ROCm/clr commit: dd5d28f66d]
2019-07-08 05:10:35 -04:00
Evgeny Mankov 4f078733ae Merge pull request #1206 from emankov/master
[HIPIFY] Statistics to CSV file dumping revise

[ROCm/clr commit: ac2357aa0a]
2019-07-07 20:58:16 +03:00
Evgeny Mankov c4928afa45 [HIPIFY] Statistics to CSV file dumping revise
+ Add option -print-stats-csv to dump statistics to CSV file
+ If -o-dir is specified, CSV file will be dumped there
+ Generate 1 summary file sum_stat.csv in case of multiple sources


[ROCm/clr commit: 60a9143d6d]
2019-07-07 20:55:17 +03:00
foreman 40b5f1a0a9 P4 to Git Change 1954476 by chui@ocl-promo-incrementor on 2019/07/07 03:00:07
SWDEV-2 - Change OpenCL version number from 2940 to 2941.

Affected files ...

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


[ROCm/clr commit: 01b3c9a93c]
2019-07-07 03:08:53 -04:00
foreman a2d8515aac P4 to Git Change 1954434 by chui@ocl-promo-incrementor on 2019/07/06 03:00:07
SWDEV-2 - Change OpenCL version number from 2939 to 2940.

Affected files ...

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


[ROCm/clr commit: cf619cedf7]
2019-07-06 03:08:13 -04:00
Jenkins 16158ff728 Merge 'master' into 'amd-master'
Change-Id: Ie33c9467b47fc5d42da71b9bfc2932c26493f9f2


[ROCm/clr commit: 90ff0a2e5a]
2019-07-04 10:56:44 -04:00
foreman 1ec1706cc4 P4 to Git Change 1942068 by chui@ocl-promo-incrementor on 2019/07/04 03:00:06
SWDEV-2 - Change OpenCL version number from 2938 to 2939.

Affected files ...

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


[ROCm/clr commit: b1a5dc95c8]
2019-07-04 03:08:21 -04:00
searlmc1 768fca3d42 Fix typo ( T in Vec3_cmp = needs to be int ). (#1203)
Typo introduced here:
commit 1e12e00009
Author: Alex Voicu <alexandru.voicu@amd.com>
Date:   Mon Jun 24 20:02:09 2019 -0500

    Put 3-wide vector types on a ketogenic diet. (#1180)

[ROCm/clr commit: f3bbad0716]
2019-07-04 00:44:26 +00:00
kpyzhov d6b81bc408 Change the type of hipTextureObject_t to pointer to a struct. (#1199)
This is necessary to allow Runtime to perform required texture buffer handling.

[ROCm/clr commit: 43ffe25979]
2019-07-04 00:44:06 +00:00
Jannik 566679ba1d Fix call to cuda library (#1197)
* Remove flags parameter from hipOccupancyMaxPotentialBlockSize

This commit makes the hipOccupancyMaxPotentialBlockSize method consistent with hcc path and the CUDA API.


[ROCm/clr commit: a401997b8e]
2019-07-04 00:43:22 +00:00
Aryan Salmanpour 4b06a21504 [hip] Move _criticalData of ihipStream_t class to private section and use criticalData() to access it (#1177)
[ROCm/clr commit: 7e48231252]
2019-07-04 00:42:19 +00:00
Jenkins 2b2f74d171 Merge 'master' into 'amd-master'
Change-Id: I0230d43dca968ed6a8f7695064b98a3de703143d


[ROCm/clr commit: 1c9776d712]
2019-07-03 19:12:35 -04:00
foreman 083dc6fbb0 P4 to Git Change 1940447 by cpaquot@cpaquot-ocl-lc-lnx on 2019/07/03 14:44:49
SWDEV-194872 - [HIP] CUDA and HCC sync after a DeviceToHost async copy.

Affected files ...

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


[ROCm/clr commit: 270c652d0f]
2019-07-03 14:51:15 -04:00
foreman 43a158b0ca P4 to Git Change 1938683 by gandryey@gera-hip-lnx on 2019/07/03 11:20:14
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove old header

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/lnxheaders.h#3 edit


[ROCm/clr commit: 6b7cd4c5ad]
2019-07-03 10:24:10 -05:00
Maneesh Gupta f977bf9278 Fix sample module_api_global for hip-clang (#1201)
module_api_global relies on a HCC only feature which allows host code
to write to device variables. This feature does not exist in CUDA
or hip-clang, which causes the sample not working in CUDA or hip-clang.

This patch fixes the sample by using standard features of CUDA and
hip-clang. The fixed sample works in HCC, CUDA and hip-clang.

[ROCm/clr commit: 3541d18528]
2019-07-03 08:52:19 +00:00
Yaxun (Sam) Liu 2c8502f1db Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests (#1200)
[ROCm/clr commit: 3169f3a881]
2019-07-03 08:51:59 +00:00
Maneesh Gupta 154b861905 Added missing NULL checks and corrected API return values (#1188)
* Added missing NULL checks and corrected API return values as per validation

* Added missing NULL checks


[ROCm/clr commit: a220a8e8e9]
2019-07-03 08:51:39 +00:00
Jatin Chaudhary db5f404b5c Adding new unroll example (#1187)
[ROCm/clr commit: 3cb87cdc46]
2019-07-03 08:51:19 +00:00
Yaxun Sam Liu 79c6028768 Fix sample module_api_global for hip-clang
module_api_global relies on a HCC only feature which allows host code
to write to device variables. This feature does not exist in CUDA
or hip-clang, which causes the sample not working in CUDA or hip-clang.

This patch fixes the sample by using standard features of CUDA and
hip-clang. The fixed sample works in HCC, CUDA and hip-clang.


[ROCm/clr commit: 98648828c0]
2019-07-02 16:36:53 -04:00
foreman 5ff3c0b7ef P4 to Git Change 1929606 by chui@ocl-promo-incrementor on 2019/07/02 03:00:06
SWDEV-2 - Change OpenCL version number from 2937 to 2938.

Affected files ...

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


[ROCm/clr commit: 421f8e1b72]
2019-07-02 03:09:08 -04:00
foreman 98299e6bf2 P4 to Git Change 1928320 by slinder1@slinder1-fiji-ocllc on 2019/07/01 16:20:37
SWDEV-161424 - Always enable and collect Comgr logging

	Restore changelist 1853517, which was backed out in changelist 1861649

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#29 edit


[ROCm/clr commit: 62c0a6f23e]
2019-07-01 16:23:41 -04:00
Jenkins d2ba54f50f Merge 'master' into 'amd-master'
Change-Id: I87a09730ec605e2bf13cde52ab5afb79eaeaaf64


[ROCm/clr commit: 54f0e508f9]
2019-07-01 02:12:30 -07:00
foreman 31e08b5d96 P4 to Git Change 1923808 by chui@ocl-promo-incrementor on 2019/06/30 03:00:05
SWDEV-2 - Change OpenCL version number from 2936 to 2937.

Affected files ...

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


[ROCm/clr commit: e4012b8878]
2019-06-30 03:05:05 -04:00
Jenkins bfab36ce80 Merge 'master' into 'amd-master'
Change-Id: Ied8c47046b006252096e0381960b62f5aa95d6d3


[ROCm/clr commit: 04cbe15857]
2019-06-29 21:09:16 -07:00
eshcherb 8b74b0e2b2 hip_api_name fixed to be inline to suppress not used warning (#1194)
[ROCm/clr commit: 0218f95c32]
2019-06-30 03:38:43 +00:00
Evgeny Mankov bd412c67b5 Merge pull request #1195 from emankov/master
[HIPIFY] Clang 7.1.0 support

[ROCm/clr commit: 54dab53c04]
2019-06-29 17:25:07 +03:00
Evgeny Mankov c4396a0aa0 [HIPIFY] Clang 7.1.0 support
+ Provide patch for clang's bug 38811
+ Update Readme.md accordingly


[ROCm/clr commit: b1bc9caef9]
2019-06-29 17:23:18 +03:00
foreman 743fd58bd3 P4 to Git Change 1922102 by chui@ocl-promo-incrementor on 2019/06/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2935 to 2936.

Affected files ...

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


[ROCm/clr commit: 4df681f713]
2019-06-29 03:06:57 -04:00
foreman 46c35fca09 P4 to Git Change 1918811 by vsytchen@vsytchen-remote-ocl-win10 on 2019/06/28 14:47:49
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21

	1. Enable OCLOfflineCompilation for gfx1010/1011/1012.
	2. Skip gfx1030 as there is no support for this target in the device libraries for now.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#80 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLOfflineCompilation.cpp#21 edit


[ROCm/clr commit: 35b8eb2f0e]
2019-06-28 15:01:03 -04:00
foreman 6a0b041844 P4 to Git Change 1918730 by vsytchen@vsytchen-remote-ocl-win10 on 2019/06/28 14:40:48
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21

	1. Add missing mainline checks

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#148 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#88 edit


[ROCm/clr commit: 77b6f9c6e7]
2019-06-28 14:50:33 -04:00
foreman 1e4bf9558c P4 to Git Change 1917740 by cpaquot@cpaquot-ocl-lc-lnx on 2019/06/28 12:03:07
SWDEV-193938 - [HIP] RCCL test fails
	Set default stream to null-stream
	In hipStreamWaitEvent if event_ is null, get the last queued command instead.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#4 edit


[ROCm/clr commit: ccd7799ada]
2019-06-28 12:09:09 -04:00
foreman 6c0d7f9d1a P4 to Git Change 1917655 by vsytchen@vsytchen-remote-ocl-win10 on 2019/06/28 10:05:26
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21

	1. Recognize gfx10.3 in OpenCL.
	2. Don't report nv12/nv12_lite/nv21 for mainline OpenCL.
	3. Disable nv10_lite/nv21_lite for OpenCL (gfx1000/1020 are not supported by LC).

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#147 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#13 edit


[ROCm/clr commit: 2bc8836012]
2019-06-28 10:14:56 -04:00
foreman 8b83226662 P4 to Git Change 1917620 by yaxunl@yaxunl-lc10 on 2019/06/28 07:57:46
SWDEV-145570 - Fix device name mismatch.

	Not only gfx906 can have device name with +xnack etc.
	Other devices e.g. gfx900 could have that too.
	Make the previous fix more generic.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#33 edit


[ROCm/clr commit: 6768664780]
2019-06-28 08:06:23 -04:00
foreman 1b57fe8cf6 P4 to Git Change 1916766 by chui@ocl-promo-incrementor on 2019/06/28 03:00:05
SWDEV-2 - Change OpenCL version number from 2934 to 2935.

Affected files ...

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


[ROCm/clr commit: c99c79f578]
2019-06-28 03:07:06 -04:00
foreman f4cbe3a464 P4 to Git Change 1914428 by gandryey@gera-win10 on 2019/06/27 18:22:17
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove all compilaiton flags for LC. LC should be selected dynamically only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#146 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#86 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#312 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#12 edit


[ROCm/clr commit: c3f3ef430f]
2019-06-27 18:24:28 -04:00
Anusha Godavarthy Surya 27722855b4 Added missing NULL checks
[ROCm/clr commit: 1a7c7e3b06]
2019-06-27 20:19:30 +05:30
foreman f2cba0caf7 P4 to Git Change 1907374 by chui@ocl-promo-incrementor on 2019/06/27 03:00:43
SWDEV-2 - Change OpenCL version number from 2933 to 2934.

Affected files ...

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


[ROCm/clr commit: d3ede521f1]
2019-06-27 03:06:25 -04:00
foreman db5bfff7aa P4 to Git Change 1906676 by gandryey@gera-win10 on 2019/06/26 18:29:26
SWDEV-79445 - OCL generic changes and code clean-up
	- Rename targetName_ to machineTarget_

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#145 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#95 edit


[ROCm/clr commit: a1235f5e94]
2019-06-26 18:34:23 -04:00
foreman 108094590b P4 to Git Change 1906666 by gandryey@gera-win10 on 2019/06/26 18:13:38
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove unused machineTarget_ and perform dynamic name switch for HSAIL and LC compilation on gfx9.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#54 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#144 edit


[ROCm/clr commit: 35e5a800fc]
2019-06-26 18:22:06 -04:00
Anusha Godavarthy Surya e643bae27d Added missing NULL checks and corrected API return values as per validation
[ROCm/clr commit: 4989452413]
2019-06-27 00:19:05 +05:30
Maneesh Gupta dc4b3289de Add dependency on amd_comgr in hip-config-*.cmake.in (#1179)
Change-Id: Ia12a40cd5c89920a50ec714ceae99f60259a6f66

[ROCm/clr commit: a90871aefe]
2019-06-26 15:18:11 +05:30
wkwchau 7662c1a650 Fixed bug in hipOccupancyMaxPotentialBlockSize for the SGPRs limitation of gfx8 devices (#1176)
[ROCm/clr commit: 3742f24477]
2019-06-26 15:18:00 +05:30
foreman 3e1cd00549 P4 to Git Change 1901838 by chui@ocl-promo-incrementor on 2019/06/26 03:00:14
SWDEV-2 - Change OpenCL version number from 2932 to 2933.

Affected files ...

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


[ROCm/clr commit: 410bbc548d]
2019-06-26 03:06:58 -04:00
foreman a464870cb6 P4 to Git Change 1896279 by chui@ocl-promo-incrementor on 2019/06/25 03:00:02
SWDEV-2 - Change OpenCL version number from 2931 to 2932.

Affected files ...

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


[ROCm/clr commit: 21bdde5ff9]
2019-06-25 03:10:20 -04:00
Maneesh Gupta 493e713fde [packaging] Add dependency on comgr to hip_hcc package (#1182)
[ROCm/clr commit: e0b86d890c]
2019-06-25 06:32:46 +05:30
Aaron Enye Shi 553caedb5c Fix dlpi_name info empty when using GCC on ub18 (#1181)
This fixes a bug where GCC++ on Ubuntu 18.04 creates failing executables compared to GCC++ on 16.04 and clang++. While creating function names on Ubuntu 18.04, dl_phdr_info seems to provide a non-zero value for dlpi_addr on initial iteration, and an empty string in dlpi_name. This is causing failure when linking with g++, since the empty string prevents the kernel function from being loaded. Clang++ and GCC on UB16 provide a zero value for dlpi_addr. To fix this, we need to verify both addr and name exists, so that /proc/self/exe can be properly loaded.

[ROCm/clr commit: f87b900f96]
2019-06-25 06:32:29 +05:30
Alex Voicu 1e12e00009 Put 3-wide vector types on a ketogenic diet. (#1180)
* Put 3-wide vector types on a ketogenic diet.

* Remove needless include.

* Do not be narrow-minded.

* Do not be narrow-minded.

* Put the C people on a diet too.


[ROCm/clr commit: 87eac86298]
2019-06-25 06:32:09 +05:30
foreman 47920daf81 P4 to Git Change 1890418 by chui@ocl-promo-incrementor on 2019/06/24 03:00:03
SWDEV-2 - Change OpenCL version number from 2930 to 2931.

Affected files ...

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


[ROCm/clr commit: f22bdc64fd]
2019-06-24 03:07:13 -04:00
Jenkins 4f33ad404b Merge 'master' into 'amd-master'
Change-Id: I81a373b1a9c149e96ede6c72a6c24d99171f8821


[ROCm/clr commit: 178f06d22f]
2019-06-23 11:47:24 -04:00
foreman 9df1e5b2ce P4 to Git Change 1886054 by chui@ocl-promo-incrementor on 2019/06/22 03:00:02
SWDEV-2 - Change OpenCL version number from 2929 to 2930.

Affected files ...

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


[ROCm/clr commit: 26cfe2c10f]
2019-06-22 03:09:52 -04:00