Commit Graph

13677 Commits

Author SHA1 Message Date
Evgeny Mankov a8980580c0 Merge pull request #800 from emankov/master
[HIPIFY][tests][fix] Add correct CUDA version detection while testing

[ROCm/clr commit: 80d5861d78]
2018-12-12 18:30:03 +03:00
Evgeny Mankov 0d92c82f79 [HIPIFY][tests][fix] Add correct CUDA version detection while testing
+ Just do load_config for lit.site.cfg earlier in lit.cfg to get initialized cuda_version
+ Remove lit.cfg.in for CMake variables substitution
+ Return back lit.cfg
+ Exclude CUDA 9.0 tests if CUDA < 9.0
+ Report CUDA version before running tests


[ROCm/clr commit: a5c66018b6]
2018-12-12 17:05:01 +03:00
Jenkins 0a8b569b59 Merge 'master' into 'amd-master'
Change-Id: I2398d49e51fa3830e490ac83fe1723d7aa4e71d1


[ROCm/clr commit: 2a9768844d]
2018-12-12 04:09:48 -06:00
foreman b51ea30784 P4 to Git Change 1719159 by chui@ocl-promo-incrementor on 2018/12/12 03:00:20
SWDEV-2 - Change OpenCL version number from 2792 to 2793.

Affected files ...

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


[ROCm/clr commit: d5ff55ca7d]
2018-12-12 03:10:15 -05:00
Maneesh Gupta f096437107 Merge pull request #797 from gargrahul/fixhipPointerGetAttributes
Fixed hipPointerGetAttributes for hostmalloced ptr

[ROCm/clr commit: a778f7cdf7]
2018-12-12 10:16:07 +05:30
Maneesh Gupta 30ce297635 Merge pull request #608 from gargrahul/add_pinned_2d_sdma_copy
Added support for pinned 2D SDMA copy

[ROCm/clr commit: 6ce99b066c]
2018-12-12 07:44:16 +05:30
Evgeny Mankov d38bbc99aa [HIPIFY][tests][fix] Add correct CUDA version detection while testing
+ Add lit.cfg.in for CMake variables substitution to now generated lit.cfg
+ Exclude lit.cfg
+ Exclude CUDA 9.0 tests if CUDA < 9.0
+ Report CUDA version before running tests


[ROCm/clr commit: 2b01f1eb6f]
2018-12-11 22:03:11 +03:00
foreman bfcd1a722b P4 to Git Change 1718602 by chui@ocl-promo-incrementor on 2018/12/11 03:00:21
SWDEV-2 - Change OpenCL version number from 2791 to 2792.

Affected files ...

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


[ROCm/clr commit: ad64c0bf61]
2018-12-11 03:33:54 -05:00
Evgeny Mankov b5934ac50b Merge pull request #789 from emankov/master
[HIPIFY] Initial support of translation to ROCm

[ROCm/clr commit: f2afe92844]
2018-12-11 10:56:41 +03:00
foreman 10b33ca839 P4 to Git Change 1718359 by wchau@wchau_OCL_boltzmann on 2018/12/10 15:59:00
SWDEV-162389 - OpenCL Support for COMgr
	- fixed memory leak in Kernel::GetKernelMetadata()

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#15 edit


[ROCm/clr commit: 8f175b9097]
2018-12-10 16:20:57 -05:00
foreman 4c62a197f2 P4 to Git Change 1718337 by gandryey@gera-w8 on 2018/12/10 15:30:30
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
	- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
	- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#179 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#238 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#327 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#249 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#101 edit


[ROCm/clr commit: e643f0bc00]
2018-12-10 15:49:24 -05:00
foreman c5a32bd377 P4 to Git Change 1717888 by chui@ocl-promo-incrementor on 2018/12/08 03:00:49
SWDEV-2 - Change OpenCL version number from 2790 to 2791.

Affected files ...

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


[ROCm/clr commit: ca58d7a9bb]
2018-12-08 03:10:21 -05:00
foreman 7bbd0000da P4 to Git Change 1717849 by gandryey@gera-w8 on 2018/12/07 18:26:42
SWDEV-162389 - Back out changelist 1717839 due to a weird link error in LiquidFlash for LC Windows build only

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#237 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#326 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#248 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#100 edit


[ROCm/clr commit: fd43c4fbfd]
2018-12-07 18:41:56 -05:00
foreman 158b231836 P4 to Git Change 1717839 by gandryey@gera-w8 on 2018/12/07 17:54:13
SWDEV-162389 - Prepare the runtime code for enabling COMGR by default in the non-LC workspace
	- Make sure OCL runtime can dynamically switch between HSAIL and LC paths
	- For now use the both WITH_LIGHTNING_COMPILER and USE_COMGR_LIBRARY defines to identify LC specific code. The clean-up will come later

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#236 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#325 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#247 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#116 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#99 edit


[ROCm/clr commit: 03d5d4b485]
2018-12-07 18:30:39 -05:00
Rahul Garg 514e5a41e3 Fixed hipPointerGetAttributes for hostmalloced ptr
[ROCm/clr commit: 77fd517e09]
2018-12-08 01:42:08 +05:30
Jenkins 0f1a0c6a65 Merge 'master' into 'amd-master'
Change-Id: I4cb9bd9cacaf55727096fd55d05c6e17ffd4e1b0


[ROCm/clr commit: 6ea0ad82e2]
2018-12-07 04:09:41 -06:00
foreman 3cc1455d67 P4 to Git Change 1717523 by chui@ocl-promo-incrementor on 2018/12/07 03:00:18
SWDEV-2 - Change OpenCL version number from 2789 to 2790.

Affected files ...

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


[ROCm/clr commit: 855c65b06b]
2018-12-07 03:15:54 -05:00
amd-stanley 36af63b64b Merge pull request #1 from ROCm-Developer-Tools/master
Updating fork with latest code from origin

[ROCm/clr commit: 4fc2715252]
2018-12-06 13:28:25 -07:00
Evgeny Mankov ccad9cbd80 [HIPIFY] Initial support of translation to ROCm
+ Option '-roc' is added to translate to ROCm instead of HIP
+ Update hipification mechanism accordingly
+ Populate all translation maps with additional field for ROCm identifiers
+ There are 4 degrees of CUDA support now: full support, only by HIP, only by ROCm, unsupported


[ROCm/clr commit: 747eb2c11c]
2018-12-06 21:52:54 +03:00
foreman 55ed862227 P4 to Git Change 1716952 by chui@ocl-promo-incrementor on 2018/12/06 03:00:18
SWDEV-2 - Change OpenCL version number from 2788 to 2789.

Affected files ...

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


[ROCm/clr commit: 871332903f]
2018-12-06 03:57:46 -05:00
foreman 413364e650 P4 to Git Change 1716176 by chui@ocl-promo-incrementor on 2018/12/05 03:00:17
SWDEV-2 - Change OpenCL version number from 2787 to 2788.

Affected files ...

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


[ROCm/clr commit: c02cbf4723]
2018-12-05 03:15:51 -05:00
foreman cbbfb4a0f3 P4 to Git Change 1716039 by gandryey@gera-w8 on 2018/12/04 19:35:36
SWDEV-86035 - Fix OCL runtime crash after recent PAL promotion
	- PAL added a new asic inside the old enum and broke the logic for the asic detection with nulldevices. Add a new entry into Gfx9PlusSubDeviceInfo

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#44 edit


[ROCm/clr commit: 6aff36f09a]
2018-12-04 19:47:07 -05:00
Evgeny Mankov 008640c8a5 Merge pull request #787 from emankov/master
[HIPIFY][tests] Reorganization

[ROCm/clr commit: 32455eddaf]
2018-12-04 20:48:48 +03:00
Evgeny Mankov 27496f1d0d [HIPIFY][tests] Reorganization
[ROCm/clr commit: b76cf94562]
2018-12-04 20:47:34 +03:00
Evgeny Mankov 5906596174 Merge pull request #786 from emankov/master
[HIPIFY][SPARSE] Add 3 more CUDA 10.0 tests

[ROCm/clr commit: f368ab4a32]
2018-12-04 19:30:26 +03:00
Evgeny Mankov c6efca710f [HIPIFY][SPARSE] Add 3 more CUDA 10.0 tests
+ lit update
+ fix typos


[ROCm/clr commit: a421aff96d]
2018-12-04 19:24:29 +03:00
foreman 0e752250f0 P4 to Git Change 1715536 by chui@ocl-promo-incrementor on 2018/12/04 03:00:16
SWDEV-2 - Change OpenCL version number from 2786 to 2787.

Affected files ...

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


[ROCm/clr commit: e420c8365e]
2018-12-04 03:10:53 -05:00
foreman 9119ae2b90 P4 to Git Change 1715236 by axie@axie_win_opencl_laptop on 2018/12/03 14:48:51
SWDEV-165045 - Linux-Pro System Hard-Hang with Call Trace and VM Faults are observed while running ABAQUS-2018-OpenCL Sample on VEGA GPU

	"-g" option caused shader compiler generated isa code which caused the VM fault. The root cause is still unknown. "-g" is not a feature for end user. So remove it.

	Remove -g options from application. The affected API includes build, link and compile CL C kernel code.
	Update ocltst compiler test to remove one test which uses "-g"

	AMD_OCL_BUILD_OPTIONS_APPEND can be used to force "-g" option

	Test:
	Run the Abaqus as specfied in the JIRA twice. No VM fault.
	In a simple OpenCL test application, driver can handle build option "-g -cl-mad-enable -g -D DDBUILD -D ok-g -g" correctly.

	Teamcity test.
	http://ocltc.amd.com:8111/viewModification.html?modId=112334&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true
	No new failure.

	ReviewBoard: http://ocltc.amd.com/reviews/r/16255/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/compiler/OCLSeparateCompile.cpp#17 edit


[ROCm/clr commit: 463b3cd876]
2018-12-03 15:06:55 -05:00
foreman 478ff51dcc P4 to Git Change 1715227 by wchau@wchau_OCL_boltzmann on 2018/12/03 14:41:05
SWDEV-79445 - OCL generic changes and code clean-up
	- Modify CMakeLists.txt to switch to different library interface to match the COMgr requirement

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#16 edit


[ROCm/clr commit: 5b7a2bc281]
2018-12-03 14:54:31 -05:00
Maneesh Gupta ddcf75e809 Merge pull request #785 from mangupta/ci-add-rocm_2_0
[ci] Add rocm-2.0.x to CI test infrastructure

[ROCm/clr commit: f6ec2236cd]
2018-12-03 10:41:43 +05:30
Maneesh Gupta feefdd498b [ci] Add rocm-2.0.x to CI test infrastructure
Change-Id: I7fc0c40d1bf50a90ce3e210f2c8e83d1f4bf6d5c


[ROCm/clr commit: 94292df570]
2018-12-03 08:54:13 +05:30
Evgeny Mankov e5ac8b71ef Merge pull request #784 from emankov/master
[HIPIFY][SPARSE] Matrix Reorderings and Format Conversion Reference

[ROCm/clr commit: 7de2948334]
2018-11-30 15:35:14 +03:00
Evgeny Mankov d3ffb890c0 [HIPIFY][SPARSE] Matrix Reorderings and Format Conversion Reference
+ cuSPARSE is supported up to CUDA 10.0
+ cuSPARSE_08 test (CUDA 10.0)
+ update CUSPARSE_API_supported_by_HIP.md
+ lit: add a rule for CUDA 10.0 tests excluding


[ROCm/clr commit: 424e4c8229]
2018-11-30 15:33:57 +03:00
Maneesh Gupta 9c38b6da48 Merge pull request #783 from scchan/revert_metadata_for_kerarg
Revert metadata for kerarg

[ROCm/clr commit: 940c5c2b26]
2018-11-30 09:39:42 +05:30
Jenkins 242860f8f0 Merge 'master' into 'amd-master'
Change-Id: Ibddea29eb732824b45b97f2c7ec5c15949ab7f22


[ROCm/clr commit: 3fd066b6b0]
2018-11-29 15:24:25 -06:00
Siu Chi Chan bda6edc929 Revert "Rely on code object metadat for kernarg arguments alignof and sizeof."
This reverts commit 1ec78f6d67.


[ROCm/clr commit: 4251a70bc0]
2018-11-29 11:38:37 -05:00
Siu Chi Chan b47617dd72 Revert "Handle the very confusing dual encoding of the symbol name."
This reverts commit 8599d053b4.


[ROCm/clr commit: a41bce5163]
2018-11-29 11:38:36 -05:00
Siu Chi Chan 9b6b628695 Revert "If we've already seen a __global__ function we do not need to re-parse"
This reverts commit 58c5dedc16.


[ROCm/clr commit: dc36c49212]
2018-11-29 11:38:35 -05:00
Siu Chi Chan 732088e131 Revert "Handle (odd) corner case of argumentless __global__ function."
This reverts commit f843c8dd48.


[ROCm/clr commit: 30a9be5643]
2018-11-29 11:38:34 -05:00
Siu Chi Chan 44ac74c9db Revert "Missing handling nullary __global__ functions for mixed arity cases."
This reverts commit 5647e0ae35.


[ROCm/clr commit: c5df445d1f]
2018-11-29 11:38:31 -05:00
Siu Chi Chan 61785e9d39 Revert "Fix issue in kernarg metadata parsing due to early finalization"
This reverts commit 0c610f5890.


[ROCm/clr commit: adbf0c444b]
2018-11-29 11:35:00 -05:00
Evgeny Mankov d46943ca1d Merge pull request #782 from emankov/master
[HIPIFY][SPARSE] Preconditioners Reference: Tridiagonal and Pentadiagonal solves

[ROCm/clr commit: c0b3e59fcf]
2018-11-29 18:49:34 +03:00
Evgeny Mankov 1c4d1bf7a6 [HIPIFY][SPARSE] Preconditioners Reference: Tridiagonal and Pentadiagonal solves
+ Tridiagonal Solve, Batched Tridiagonal and Pentadiagonal Solve
+ cuSPARSE_07 test
+ update CUSPARSE_API_supported_by_HIP.md


[ROCm/clr commit: e8054fe485]
2018-11-29 18:46:51 +03:00
Evgeny Mankov 81a01ef3a5 Merge pull request #781 from emankov/master
[HIPIFY][SPARSE] Preconditioners Reference: Incomplete LU Factorization: level 0

[ROCm/clr commit: 7317dce7bd]
2018-11-29 16:01:44 +03:00
Evgeny Mankov 81004dc3ac [HIPIFY][SPARSE] Preconditioners Reference: Incomplete LU Factorization: level 0
+ cuSPARSE_06 test
+ update CUSPARSE_API_supported_by_HIP.md


[ROCm/clr commit: ef99d6dee4]
2018-11-29 15:59:58 +03:00
foreman 54169486a5 P4 to Git Change 1713565 by chui@ocl-promo-incrementor on 2018/11/29 03:00:14
SWDEV-2 - Change OpenCL version number from 2785 to 2786.

Affected files ...

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


[ROCm/clr commit: cb8f46186c]
2018-11-29 03:32:23 -05:00
Jenkins 9265d07faa Merge 'master' into 'amd-master'
Change-Id: I90191bfc6db938b1ab25d0878756fbddf9bcc1bf


[ROCm/clr commit: ee4649dbff]
2018-11-28 13:14:53 -06:00
Evgeny Mankov 55fcdefb1d Merge pull request #780 from emankov/master
[HIPIFY][SPARSE] Preconditioners Reference: Incomplete Cholesky Factorization: level 0

[ROCm/clr commit: df81e8dcd8]
2018-11-28 20:12:21 +03:00
Evgeny Mankov c0224ff0b9 [HIPIFY][SPARSE] Preconditioners Reference: Incomplete Cholesky Factorization: level 0
+ cuSPARSE_05 test
+ update CUSPARSE_API_supported_by_HIP.md


[ROCm/clr commit: e90373c927]
2018-11-28 20:10:30 +03:00
foreman c27ad74d71 P4 to Git Change 1712900 by chui@ocl-promo-incrementor on 2018/11/28 03:00:14
SWDEV-2 - Change OpenCL version number from 2784 to 2785.

Affected files ...

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


[ROCm/clr commit: 7f73027a06]
2018-11-28 03:11:17 -05:00