Commit Graph

12196 Commits

Author SHA1 Message Date
Evgeny Mankov 27275c9e8e [HIPIFY] cuDNN 7.5.0.56 support
[ROCm/clr commit: 64f0f29111]
2019-04-15 15:46:46 +03:00
Maneesh Gupta 5d577d7ef2 Merge pull request #1021 from mangupta/ci_update_builds
[ci] Enable tests on ROCm 2.3

[ROCm/clr commit: b700c19985]
2019-04-15 13:27:49 +05:30
foreman d63ffa38b2 P4 to Git Change 1769588 by chui@ocl-promo-incrementor on 2019/04/15 03:00:05
SWDEV-2 - Change OpenCL version number from 2878 to 2879.

Affected files ...

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


[ROCm/clr commit: 84ed9199f6]
2019-04-15 03:55:00 -04:00
Maneesh Gupta c82695a311 [ci] Enable tests on ROCm 2.3
Change-Id: Id344ef600b0868f36f2e7ac08d5664234d88835b


[ROCm/clr commit: 72e17e3c92]
2019-04-15 12:38:01 +05:30
foreman 925ec512bb P4 to Git Change 1768921 by chui@ocl-promo-incrementor on 2019/04/12 03:00:40
SWDEV-2 - Change OpenCL version number from 2877 to 2878.

Affected files ...

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


[ROCm/clr commit: 556768dd2c]
2019-04-12 04:58:33 -04:00
Jenkins 6fa50a2e79 Merge 'master' into 'amd-master'
Change-Id: I79fc1a5d5692ae9783b9e26c7adecc6c707da977


[ROCm/clr commit: 81d46ce8ac]
2019-04-11 10:42:54 -05:00
foreman e7bed47853 P4 to Git Change 1768486 by wchau@wc_hip_vdi on 2019/04/11 10:57:40
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
	- Fixed issue to support V2 kernel objects

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#41 edit


[ROCm/clr commit: 748429b9ba]
2019-04-11 11:13:22 -04:00
foreman 033d32432b P4 to Git Change 1768316 by chui@ocl-promo-incrementor on 2019/04/11 03:00:40
SWDEV-2 - Change OpenCL version number from 2876 to 2877.

Affected files ...

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


[ROCm/clr commit: d661086adb]
2019-04-11 03:15:04 -04:00
Maneesh Gupta 4610845721 Merge pull request #1016 from yxsamliu/align
hip-clang: Add __align__

[ROCm/clr commit: 464e098796]
2019-04-11 08:54:23 +05:30
foreman 959a60b91c P4 to Git Change 1768245 by wchau@wchau_OCL_Linux on 2019/04/10 22:01:33
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
	- Fixed the missing support of Printf for CO v3
	- Added back the flag to disable CO v3 for the non-COMGR environment

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#40 edit


[ROCm/clr commit: 90271b9b75]
2019-04-10 22:15:35 -04:00
Jenkins c35dfe9cfa Merge 'master' into 'amd-master'
Change-Id: I0e895e45f3a2159dc032a269c5706ed7246857ea


[ROCm/clr commit: 0a3ffdf182]
2019-04-10 16:37:43 -05:00
foreman a232bdf961 P4 to Git Change 1768145 by kjayapra@4_HIPWS_SLV_SYM_COMGR on 2019/04/10 15:29:20
SWDEV-185753 - Fixing OCL Test Failure on CL1766106

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#91 edit


[ROCm/clr commit: 25c15cbb15]
2019-04-10 16:00:39 -04:00
Yaxun (Sam) Liu 7d58d7b02a hip-clang: Add __align__
CUDA has __align__. Define eqivalent for hip-clang.


[ROCm/clr commit: e200ece4da]
2019-04-10 14:17:18 -04:00
Evgeny Mankov 19ba784652 Merge pull request #1015 from emankov/master
[HIPIFY] CUDA 10.1 Runtime API support

[ROCm/clr commit: 131e74c64c]
2019-04-10 18:44:21 +03:00
Evgeny Mankov ca6021640b [HIPIFY] CUDA 10.1 Runtime API support
[ROCm/clr commit: b11bf48270]
2019-04-10 18:41:36 +03:00
Evgeny Mankov 971a55a94a Merge pull request #1014 from emankov/master
[HIPIFY] CUDA 10.1 Driver API support

[ROCm/clr commit: 2603fb409b]
2019-04-10 15:05:28 +03:00
Evgeny Mankov 61a6949cf0 [HIPIFY] CUDA 10.1 Driver API support
[ROCm/clr commit: 9a660c0d48]
2019-04-10 15:03:34 +03:00
Maneesh Gupta f8194fd6f1 Merge pull request #1013 from yxsamliu/config
Fix hip-config.cmake for hip-clang

[ROCm/clr commit: 75691ff3e4]
2019-04-10 07:53:22 +00:00
Maneesh Gupta 95218deb30 Merge pull request #1012 from yxsamliu/header
hip-clang: add include path for hsa headers

[ROCm/clr commit: 9a1f5c99fc]
2019-04-10 07:53:13 +00:00
foreman c3349370dc P4 to Git Change 1767813 by chui@ocl-promo-incrementor on 2019/04/10 03:00:40
SWDEV-2 - Change OpenCL version number from 2875 to 2876.

Affected files ...

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


[ROCm/clr commit: d4a2b396ef]
2019-04-10 03:10:52 -04:00
foreman d1f62b92c1 P4 to Git Change 1767752 by wchau@wchau_OCL_Linux on 2019/04/09 22:58:03
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
	- Add support for the V3 code objects

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#336 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#134 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/inc/core/palCmdBuffer.h#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx6/gfx6ComputeCmdBuffer.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbe/src/core/hw/gfxip/gfx9/gfx9ComputeCmdBuffer.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#76 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#103 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#47 edit


[ROCm/clr commit: 36a5f2a85f]
2019-04-09 23:24:10 -04:00
Yaxun (Sam) Liu f6151a55fd hip-clang: fix hipcc options
Use -O3 for default optimization level.
Fix --hip-device-lib-path for warnings about unused option.


[ROCm/clr commit: 419eeb4fe0]
2019-04-09 22:31:13 -04:00
Yaxun (Sam) Liu 65aa1eb59c Fix hip-config.cmake for hip-clang
Define HIP_COMPILER and HIP_RUNTIME in hip-config.cmake to
facilitate other packages identify hip-clang and HIP/VDI
runtime.


[ROCm/clr commit: a781d2e017]
2019-04-09 16:41:01 -04:00
Yaxun (Sam) Liu 40cf556b82 hip-clang: add include path for hsa headers
[ROCm/clr commit: 98642129cc]
2019-04-09 15:01:50 -04:00
Jenkins ec521bee59 Merge 'master' into 'amd-master'
Change-Id: Ib0feeb627038de9dcff12beb1386a2ff3d9524ec


[ROCm/clr commit: 82810ecc0d]
2019-04-09 04:09:45 -05:00
foreman 293408dca8 P4 to Git Change 1767175 by chui@ocl-promo-incrementor on 2019/04/09 03:00:39
SWDEV-2 - Change OpenCL version number from 2874 to 2875.

Affected files ...

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


[ROCm/clr commit: 0fb499bb71]
2019-04-09 03:14:31 -04:00
Maneesh Gupta 6f8a83bd11 Merge pull request #1010 from ROCm-Developer-Tools/mangupta-patch-1
[ci] Disable hipLaunchParm.tst for now

[ROCm/clr commit: aa8f17193e]
2019-04-09 03:19:56 +00:00
foreman b19d349daa P4 to Git Change 1766904 by michliao@hliao-dev-00-hip.rocm-workspace on 2019/04/08 14:42:29
SWDEV-145570 - Check host_context when matching GPU device.

	- In CL#1766264, `host_context` is introduced for mGPU support. Need to
	  match that context specially when trying to match GPU device context.

	The following tests passed:
	$ python test_dataloader.py TestDictDataLoader.test_pin_memory
	.
	----------------------------------------------------------------------
	Ran 1 test in 0.004s

	OK
	$ python test_dataloader.py TestDataLoader.test_sequential_pin_memory
	.
	----------------------------------------------------------------------
	Ran 1 test in 0.063s

	OK
	$ python test_dataloader.py TestDataLoader.test_shuffle_pin_memory
	.
	----------------------------------------------------------------------
	Ran 1 test in 0.174s

	OK
	$ python test_dataloader.py TestStringDataLoader.test_shuffle_pin_memory
	.
	----------------------------------------------------------------------
	Ran 1 test in 0.104s

	OK
	$ python test_torch.py TestTorch.test_pin_memory
	.
	----------------------------------------------------------------------
	Ran 1 test in 0.124s

	OK

Affected files ...

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


[ROCm/clr commit: 9b36b245c9]
2019-04-08 15:23:35 -04:00
Evgeny Mankov ea4138430e Merge pull request #1011 from emankov/master
[HIPIFY][cmake][doc] Update CMakeLists and Readme cause CUDA 10.1 and clang 8.0.0 are released

[ROCm/clr commit: 18b3cbbb4c]
2019-04-08 20:10:32 +03:00
Evgeny Mankov 0947324f18 [HIPIFY][cmake][doc] Update CMakeLists and Readme cause CUDA 10.1 and clang 8.0.0 are released
+ Fix the error in cmake: clang 8.0.0 supports CUDA 10.0, not 10.1; only trunk clang 9.0.0 supports CUDA 10.1.
+ Update Readme:
  1. clang's bug 36384 is gone, so latest stable release for Linux is clang 8.0.0, which supports CUDA up to 10.0;
  2. update dependencies, testing and building notes.


[ROCm/clr commit: 79e6bd8426]
2019-04-08 20:05:21 +03:00
foreman ec69f42679 P4 to Git Change 1766793 by asalmanp@asalmanp-ocl-stg on 2019/04/08 12:17:18
SWDEV-132899 - [OCL][GFX10] Enable LC by default on gfx10+

	reviewBoardURL = http://ocltc.amd.com/reviews/r/17099/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#75 edit


[ROCm/clr commit: 5420241b68]
2019-04-08 12:32:08 -04:00
Maneesh Gupta 47fab26a20 [ci] Disable hipLaunchParm.tst for now
Due to a HCC bug in rocm-head, the test fails to compile. Disabling the test until the issue is resolved.

Change-Id: Ib4e7baf0b9c2cb5f5dbe38e6dd2bab894d28886a


[ROCm/clr commit: 27013c9af6]
2019-04-08 16:14:25 +05:30
Jenkins 5f649d81eb Merge 'master' into 'amd-master'
Change-Id: Iac8fdc129d1c7b48c445afdaf09bd83a337185cf


[ROCm/clr commit: 52b469b6e0]
2019-04-08 04:09:39 -05:00
Maneesh Gupta dfb2a26ad9 Merge pull request #1009 from yxsamliu/fix-mgpu
Fix regression on multi-gpu due to PR#997

[ROCm/clr commit: 6b47979b8a]
2019-04-08 08:20:17 +00:00
foreman a050cac8dc P4 to Git Change 1766536 by chui@ocl-promo-incrementor on 2019/04/06 03:00:38
SWDEV-2 - Change OpenCL version number from 2873 to 2874.

Affected files ...

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


[ROCm/clr commit: 68a962509b]
2019-04-06 03:12:30 -04:00
Yaxun (Sam) Liu d8acabf24c Fix regression on multi-gpu due to PR#997
[ROCm/clr commit: 5c67ee11f4]
2019-04-05 22:54:41 -04:00
foreman 00680db557 P4 to Git Change 1766349 by michliao@hliao-dev-00-hip.rocm-workspace on 2019/04/05 14:24:45
SWDEV-144570 - Fix pointer attribute query.

	- For memory not registered with runtime, return
	  `hipErrorInvalidValue`. That's the behavior expected to check whether
	  a host buffer is pinned.
	- Return `hipErrorInvalidDevice` in case a registered memory object
	  cannot find its matching device.

	RB: http://ocltc.amd.com/reviews/r/17094/

Affected files ...

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


[ROCm/clr commit: f695910290]
2019-04-05 14:51:37 -04:00
Evgeny Mankov 8d78207849 Merge pull request #1003 from acowley/patch-1
hipify: translate cudaErrorInvalidSymbol

[ROCm/clr commit: 3352d7b174]
2019-04-05 20:21:27 +03:00
Evgeny Mankov 93be84247c Merge pull request #1007 from emankov/master
[HIP][doc] Fix typos and minor text inaccuracies in HIP FAQ

[ROCm/clr commit: 90225d2a39]
2019-04-05 20:18:01 +03:00
David Salinas d1f4e7ea54 append the ELF flags for sram-ecc and xnack to the target triple per code object
[ROCm/clr commit: 4d0dc45078]
2019-04-05 13:17:11 -04:00
Evgeny Mankov 9eb10c5b4d [HIPIFY][doc] Fix typos and minor text inaccuracies in HIP FAQ
[ROCm/clr commit: 4990a1003b]
2019-04-05 19:19:38 +03:00
foreman a0f0714729 P4 to Git Change 1766264 by cpaquot@cpaquot-ocl-lc-lnx on 2019/04/05 11:38:18
SWDEV-145570 - [HIP] Use a context with all devices in system for host register
	hipHostRegister and hipMemcpy 0x10 and 0x20 fail in mGPU systems because
	we only register the memory on the current device. But in HIP, the registering
	needs to happen on all devices.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#50 edit


[ROCm/clr commit: 7a58581c81]
2019-04-05 11:58:25 -04:00
foreman 7f4b615f18 P4 to Git Change 1766171 by chui@ocl-promo-incrementor on 2019/04/05 03:00:37
SWDEV-2 - Change OpenCL version number from 2872 to 2873.

Affected files ...

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


[ROCm/clr commit: 6702260647]
2019-04-05 03:09:53 -04:00
foreman c70ae33d9e P4 to Git Change 1766115 by cpaquot@cpaquot-ocl-lc-lnx on 2019/04/04 18:29:12
SWDEV-145570 - Don't assert when LOG_LEVEL=3 and return value isn't HIP_SUCCESS.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#25 edit


[ROCm/clr commit: 54f50c23fc]
2019-04-04 18:41:09 -04:00
foreman 6f5048ba0a P4 to Git Change 1766106 by kjayapra@99_HIPWS_SLV_CHECKIN on 2019/04/04 18:07:26
SWDEV-144570 - Implementation of hipMemcpyToSymbol and simillar fns for PAL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#135 edit


[ROCm/clr commit: 842094ccbf]
2019-04-04 18:22:40 -04:00
foreman fa9f13db43 P4 to Git Change 1766106 by kjayapra@99_HIPWS_SLV_CHECKIN on 2019/04/04 18:07:26
SWDEV-144570 - Implementation of hipMemcpyToSymbol and simillar fns for PAL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#135 edit


[ROCm/clr commit: d0c8e12d00]
2019-04-04 18:22:40 -04:00
foreman 0a54fb3e5f P4 to Git Change 1766089 by skudchad@skudchad_rocm on 2019/04/04 17:42:11
SWDEV-145570 - Re-enable subwindow copy. TC issue isnt because of this change

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#31 edit


[ROCm/clr commit: b4b0b1f61d]
2019-04-04 18:10:02 -04:00
foreman df8687b499 P4 to Git Change 1766076 by michliao@hliao-dev-00-hip.rocm-workspace on 2019/04/04 17:35:28
SWDEV-144570 - Fix pointer attribute query.

	- Device should be numbered from zero.

	RB: http://ocltc.amd.com/reviews/r/17090/

Affected files ...

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


[ROCm/clr commit: 3b461e01ae]
2019-04-04 17:50:08 -04:00
foreman a87d507145 P4 to Git Change 1765926 by skudchad@skudchad_rocm on 2019/04/04 13:58:54
SWDEV-145570 - Disable subwindow copy temporarily to see if TC random hangs go away

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#30 edit


[ROCm/clr commit: 253ae76c1a]
2019-04-04 14:29:43 -04:00
foreman d81708afb5 P4 to Git Change 1765705 by chui@ocl-promo-incrementor on 2019/04/04 03:00:37
SWDEV-2 - Change OpenCL version number from 2871 to 2872.

Affected files ...

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


[ROCm/clr commit: 54e8916492]
2019-04-04 03:13:11 -04:00