Commit Graph

13557 Commits

Author SHA1 Message Date
Maneesh Gupta b8fe5ba572 Add dependency on amd_comgr in hip-config-*.cmake.in
Change-Id: Iac1d851a8cfb99224e9c5926780273d9b9b08426
2019-04-25 15:26:33 -04:00
Sameer Sahasrabuddhe c74a97f756 minor cleanup: eliminate repetition 2019-04-25 20:41:16 +05:30
Evgeny Mankov 30b49bfaff Merge pull request #1053 from emankov/master
[HIPIFY][perl][fix][258] Memory fence device functions are supported now
2019-04-25 13:28:59 +03:00
Evgeny Mankov f0c2fdc6d7 [HIPIFY][perl][fix][258] Memory fence device functions are supported now 2019-04-25 13:27:30 +03:00
Evgeny Mankov 9f2d7c4872 Merge pull request #1051 from emankov/master
[HIPIFY][DNN] cudnnSetFilter4dDescriptor support
2019-04-25 12:20:09 +03:00
Evgeny Mankov 72a809caf6 [HIPIFY][DNN] cudnnSetFilter4dDescriptor support 2019-04-25 12:18:51 +03:00
Evgeny Mankov 86aa658d0e Merge pull request #1049 from emankov/master
[HIPIFY][fix][#204] Suppress warning message: #pragma once in main file
2019-04-24 20:37:28 +03:00
Evgeny Mankov df9418c3cd [HIPIFY][fix][#204] Suppress warning message: #pragma once in main file 2019-04-24 20:35:52 +03:00
Evgeny Mankov 45c7535b1f Merge pull request #1048 from emankov/master
[HIPIFY][doc] Update README.md
2019-04-24 18:04:14 +03:00
Evgeny Mankov 1049031d98 [HIPIFY][doc] Update README.md
+ A few words about clang patches to work with CUDA 9.2 - 10.0 on Windows;
+ Fix cuDNN versions with correct values.
2019-04-24 17:40:35 +03:00
Maneesh Gupta 7f81c72f1c Merge pull request #1043 from mhbliao/hliao/master/fp16
[hip] Fix including of hip_fp16.h
2019-04-24 16:50:46 +05:30
Maneesh Gupta 63ab2ea945 Merge pull request #1042 from mhbliao/hliao/master/ldg
[hip] Fix use of `__HIP_CLANG_ONLY__` in `hip_ldg.h`.
2019-04-24 16:50:37 +05:30
Maneesh Gupta 54cdeabe6e Merge pull request #1040 from eshcherb/roctracer-hip-frontend-190422
hip_prof_api.h include under __cplusplus
2019-04-24 16:50:27 +05:30
Maneesh Gupta 7edb43bc83 Merge pull request #1039 from gargrahul/fix_ptrgetattr_nvcc
Fix hipPointerGetAttributes for NVCC
2019-04-24 16:50:18 +05:30
Rahul Garg 94769fc8dd Add hipMallocManaged default functional support (#1036)
* Add hipMallocManaged default functional support

* Fix build error

* Add dtest
2019-04-24 16:50:03 +05:30
Maneesh Gupta 61861faddc Merge pull request #1034 from kpyzhov/master
Minor fixes for 64-bit device functions.
2019-04-24 16:49:36 +05:30
Maneesh Gupta 3ac21336eb Merge pull request #1031 from yxsamliu/fix-init
Fix missing arg in HIP_INIT_API
2019-04-24 16:49:23 +05:30
Maneesh Gupta 3ba7afcfc1 Merge pull request #1028 from gargrahul/fix_d2d_async_test
[dtest] Fix D2DAsync test
2019-04-24 16:49:13 +05:30
Aaron Enye Shi 6b3095f7cb Add COMGR relative path for build machines 2019-04-23 17:16:26 -04:00
Evgeny Mankov 716ed30878 Merge pull request #1045 from emankov/master
[HIPIFY][doc] Provide patches for clang's bug 38811
2019-04-23 21:15:33 +03:00
Evgeny Mankov 87fa81f7be [HIPIFY][doc] Provide patches for clang's bug 38811
+ Update Readme.md accordingly
2019-04-23 21:13:00 +03:00
Evgeny Mankov d8a51ee26c Merge pull request #1044 from emankov/master
[HIPIFY][hipify-perl] Formatting
2019-04-23 18:30:38 +03:00
Evgeny Mankov 65dd1d4c7d [HIPIFY][hipify-perl] Formatting 2019-04-23 17:55:47 +03:00
Michael LIAO d086dbd0e5 [hip] Fix including of hip_fp16.h
- Separate the definition of `__HCC_OR_HIP_CLANG__`, `__HCC_ONLY__`, and
  `__HIP_CLANG_ONLY__` into hip_common.h so that it could be included in
  hip_fp16.h, which may be included separately in app.
2019-04-23 09:16:00 -04:00
Jenkins 15bc9a1841 Merge 'master' into 'amd-master'
Change-Id: Id78d37905036fb495b522b0a741301ee91fcf325
2019-04-23 05:23:41 -04:00
Michael LIAO ca6a5c07eb [hip] Fix use of __HIP_CLANG_ONLY__ in hip_ldg.h.
- Check its value instead of whether it's defined or not.
2019-04-22 23:22:32 -04:00
Evgeny 165c42483b hip_prof_api.h include under __cplusplus 2019-04-22 21:14:18 -05:00
Rahul Garg c0e0f0b7fd Fix hipPointerGetAttributes for NVCC 2019-04-23 03:22:25 +05:30
foreman b07f3f0de7 P4 to Git Change 1772785 by cpaquot@cpaquot-ocl-lc-lnx on 2019/04/22 14:31:18
SWDEV-144570 - [HIP] Lazy build kernels to avoid overfilling dev memory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#28 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#27 edit
2019-04-22 15:19:24 -04:00
foreman f84c26afb9 P4 to Git Change 1772710 by gandryey@gera-w8 on 2019/04/22 11:42:59
SWDEV-185753 - [CQE OCL][QR][DTB-Blocker][Vega][Navi][PCO][Windows] observed Failure with Multiple applications on all asics (Navi, Vega, PCO, RV2 ) due to Faulty CL 1766106
	- Keep SVM allocation of code segment for HIP only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#92 edit
2019-04-22 11:57:54 -04:00
foreman 02b4ec115b P4 to Git Change 1772349 by mshivama@mshivama_tf on 2019/04/20 07:35:24
SWDEV-187020 - Basic "Hello World" Tensorflow program fails to execute on HIP/VDI/PAL/LINUX

	Make sure that the size of `dest` is big enough to hoid `src` including trailing zero byte

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#19 edit
2019-04-21 21:50:04 -04:00
foreman f97209b5e0 P4 to Git Change 1772340 by chui@ocl-promo-incrementor on 2019/04/20 03:00:05
SWDEV-2 - Change OpenCL version number from 2883 to 2884.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2631 edit
2019-04-21 21:42:19 -04:00
foreman f874d958e8 P4 to Git Change 1772267 by michliao@hliao-dev-00-hip.rocm-workspace on 2019/04/19 15:53:44
SWDEV-187076 - Fix parameter initialization on COMPGR path.

	- Once 'Args' or '.args' cannot be found, it should be regarded as no
	  argument is associated with that kernel instead of an error.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#22 edit
2019-04-19 16:10:03 -04:00
foreman 4538956a99 P4 to Git Change 1772193 by mshivama@mshivama_tf on 2019/04/19 09:39:39
SWDEV-187020 -  Basic "Hello World" Tensorflow program fails to execute on HIP/VDI/PAL/LINUX

	the API hiDeviceGetName() should pass the length of device name as argument to strncpy() instead
	of total (dest) memory size which is being passed to it by its caller. Also, bit of a code clean-up.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#18 edit
2019-04-19 09:49:37 -04:00
Konstantin Pyzhov f6fbf8751d Fix for __popcll() device function implementation. 2019-04-19 08:53:22 -04:00
foreman 51fb01161f P4 to Git Change 1772111 by chui@ocl-promo-incrementor on 2019/04/19 03:00:06
SWDEV-2 - Change OpenCL version number from 2882 to 2883.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2630 edit
2019-04-19 03:12:51 -04:00
Yaxun (Sam) Liu 710e633bdd Fix missing arg in HIP_INIT_API 2019-04-18 16:18:31 -04:00
Konstantin Pyzhov 5664ed3206 Fix for __ffsll() device functions. 2019-04-18 13:07:24 -04:00
foreman 8b60833e6e P4 to Git Change 1771752 by cpaquot@cpaquot-ocl-lc-lnx on 2019/04/18 11:54:18
SWDEV-145570 - [HIP] Use isAsync flag for async cases.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#54 edit
2019-04-18 12:15:25 -04:00
David Salinas 1237a0b691 Revert "append the ELF flags for sram-ecc and xnack to the target triple per code object"
This reverts commit 4d0dc45078.
2019-04-18 11:49:40 -04:00
foreman 3cc84d73a3 P4 to Git Change 1771493 by chui@ocl-promo-incrementor on 2019/04/18 03:00:05
SWDEV-2 - Change OpenCL version number from 2881 to 2882.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2629 edit
2019-04-18 03:14:22 -04:00
Rahul Garg f1dc017167 Fix D2DAsync test 2019-04-18 07:35:06 +05:30
foreman 9f5001466a P4 to Git Change 1771336 by cpaquot@cpaquot-ocl-lc-lnx on 2019/04/17 18:19:42
SWDEV-145570 - [HIP] Use staging buffer to copy peer to peer.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#53 edit
2019-04-17 18:38:30 -04:00
foreman 62e83525cb P4 to Git Change 1771272 by wchau@wchau_OCL_Linux on 2019/04/17 16:07:16
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
	- Fixed a typo in the value type field of kernel metadata for V3

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#15 edit
2019-04-17 16:21:36 -04:00
foreman 86c3076bff P4 to Git Change 1771136 by wchau@wchau_OCL_Linux on 2019/04/17 12:00:38
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata
	- Fixed argument type qualifier bug.  Data are represented as "0"/"1" in V3, not "false"/"true" as in V2

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#21 edit
2019-04-17 12:45:58 -04:00
foreman afa2b17340 P4 to Git Change 1770901 by chui@ocl-promo-incrementor on 2019/04/17 03:00:05
SWDEV-2 - Change OpenCL version number from 2880 to 2881.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2628 edit
2019-04-17 03:19:40 -04:00
foreman 2eee401d31 P4 to Git Change 1770446 by jujiang@JJ-OCL-w8 on 2019/04/16 10:11:21
SWDEV-182204 - [CQE OCL][QR][DTB-Blocker][RV2][PCO][Windows][RS] Soft hang is observed with multiple OCL applications on PCO, RV | Faulty CL#1747482
	Ocltst test SW hung at sub test OCLCreateBuffer due to the failure of submit command buffer, because of not enough OS memory allocation.
	OCL adds back up GART heap for memory allocation.

	http://ocltc.amd.com/reviews/r/17143/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#72 edit
2019-04-16 12:00:32 -04:00
Evgeny Mankov 9514678aeb Merge pull request #1025 from emankov/master
[HIPIFY][SPARSE] cuSPARSE 10.1 support
2019-04-16 15:01:19 +03:00
Evgeny Mankov 95aca4f9a9 [HIPIFY][SPARSE] cuSPARSE 10.1 support 2019-04-16 14:59:44 +03:00
Evgeny Mankov 542d0c3d7a Merge pull request #1024 from emankov/master
[HIPIFY][BLAS] cuBLAS 10.1 support
2019-04-16 12:54:18 +03:00