Commit Graph

3292 Commits

Author SHA1 Message Date
Maneesh Gupta c67b47e87b Merge pull request #1158 from dereklstinson/patch-1
fixed targets flag and TARGET GPU
2019-06-05 12:13:46 +05:30
Derek Stinson c401cb56e3 fixed targets flag and TARGET GPU
--target-isa= didn't work any longer.
2019-06-04 14:19:39 -04:00
Michael LIAO 2655003fde [hip] Minor fix to silence compilation warnings.
- Add parenthese to silence repeative compilation warnings across
  projects built against hip.
2019-06-04 10:39:31 -04:00
Maneesh Gupta 48e657b099 Merge pull request #1156 from yxsamliu/fix-vdi
Fix default HIP_VDI_HOME
2019-06-04 13:21:48 +05:30
Maneesh Gupta 40a09318e4 Merge pull request #1155 from gargrahul/fix_kernel_lp_dim_trace
Fix wrong grid dim shown in trace
2019-06-04 13:21:39 +05:30
Maneesh Gupta 8a859f8020 Merge pull request #1154 from yxsamliu/tex
Add device_builtin_texture_type attribute to texture type for hip-clang
2019-06-04 13:21:29 +05:30
Maneesh Gupta ef87f7eaef Merge pull request #1152 from asalmanp/hip_as_b
Header change for new hip API hipExtLaunchMultiKernelMultiDevice
2019-06-04 13:21:13 +05:30
Maneesh Gupta 98aa6cf895 Merge pull request #1149 from zuhaib27/SWDEV-185448
Structured hipFloatComplex as typedef of float2, and hipDoubleComplex as typedef of double2.
2019-06-04 13:21:02 +05:30
Maneesh Gupta 4b3d59a93e Merge pull request #1130 from lmoriche/master
Add support for code object v3
2019-06-04 13:20:52 +05:30
Yaxun Sam Liu 154765df88 Fix default HIP_VDI_HOME
There is soft link /opt/rocm/bin/.hipVersion, therefore when hipcc is executed
as /opt/rocm/bin/hipcc, it will set HIP_VDI_HOME to /opt/rocm, which is
incorrect. Check ../lib/bitcode instead to identify HIP_VDI_HOME.
2019-05-31 23:58:59 -04:00
Rahul Garg 7a2e3b6a1c Fix wrong grid dim shown in trace 2019-05-31 22:30:24 +05:30
Yaxun Sam Liu 7c20081f8d Add device_builtin_texture_type attribute to texture type for hip-clang
This is required to support texture type for hip-clang.
2019-05-31 12:07:58 -04:00
Maneesh Gupta 165d73de9a [dtests] Temporarily disable hiprtc tests
Change-Id: I87c0c01837e7b59b11d99fb94d679a765f914da5
2019-05-31 16:39:33 +05:30
Aryan Salmanpour d8e94fd5b5 Header change for new hip API hipExtLaunchMultiKernelMultiDevice 2019-05-30 18:04:05 -04:00
Maneesh Gupta 690fa7b29b Merge pull request #1148 from kpyzhov/fix-windows-hip-clang-path
Fixed setting HIP_CLANG_PATH on Windows.
2019-05-29 12:35:00 +05:30
Siu Chi Chan b2ffd6afc2 fix compilation error when host compiler is clang (#1147)
* fix compilation error when host compiler is clang

* use a macro specifically for hcc && hip-clang
2019-05-29 12:34:48 +05:30
Zuhaib Khan 6aa704e7b9 Structured hipFloatComplex as typedef of float2, and hipDoubleComplex as typedef of double2. 2019-05-28 16:57:51 -04:00
Konstantin Pyzhov 332b19023d Fixed setting HIP_CLANG_PATH on Windows. 2019-05-28 09:38:17 -04:00
Maneesh Gupta 4af81134ba Header changes for cooperative groups
Change-Id: I5f3acca94275d74adc97adcb168aed9f74951189
2019-05-28 16:58:55 +05:30
Yaxun (Sam) Liu 34b1c6c5b2 Fix hipcc for hip-clang. (#1143)
* Fix hipcc for hip-clang.

If there is -g, do not add -O3 by default.
If HIP_VDI_HOME is not set, set HIP_VDI_HOME based on hipcc directory for HIP/VDI runtime.
For HIP/VDI runtime, set HIP_CLANG_PATH and DEVICE_LIB_PATH based on HIP_VDI_HOME only if they exist.

This allows using HIP/VDI runtime with hip-clang installed at /opt/rocm/llvm and device lib installed
at /opt/rocm/lib.

* Fix HIP_VDI_HOME for hipcc called from /opt/rocm/bin
2019-05-28 09:40:34 +05:30
Maneesh Gupta 6a8d6d2958 Merge pull request #1139 from aaronenyeshi/fix-hip-clang-package-libhiprtc
Fix HIP-Clang missing libhiprtc.so packaging
2019-05-28 08:43:42 +05:30
Evgeny Mankov b312ac8f61 [HIPIFY][DNN] Support of cuDNN 7.6.0
+ Update docs and README.md accordingly
2019-05-27 21:44:53 +03:00
Aaron Enye Shi d34805f07a Workaround HIP-Clang missing libhiprtc.so packaging 2019-05-24 20:46:16 +00:00
Evgeny Mankov 9fc9a6c7ab Merge pull request #1137 from emankov/LLVM
[HIPIFY][LLVMCompat] Support of upcoming LLVM 9.0.0
2019-05-24 15:16:27 +03:00
Evgeny Mankov c1ac414f14 [HIPIFY][LLVMCompat] Support of upcoming LLVM 9.0.0 2019-05-24 15:14:14 +03:00
Maneesh Gupta 68d30cd7e4 Merge pull request #1136 from yxsamliu/fix-rdc
Fix device lib path for hip-clang.
2019-05-24 14:16:30 +05:30
Maneesh Gupta 98d93eef6b Merge pull request #1129 from b-sumner/master
Update kernel language documentation
2019-05-24 14:16:21 +05:30
Maneesh Gupta f03a8cc1b0 Merge pull request #1128 from aaronenyeshi/fix-smid-func
Fix bug in __smid not setting correct size
2019-05-24 14:16:12 +05:30
Maneesh Gupta f30446c4bc Merge pull request #1124 from kpyzhov/hipModule-test
Updated kernel binary file for hipModule test.
2019-05-24 14:16:03 +05:30
Maneesh Gupta c289973030 Merge pull request #1121 from kpyzhov/hipStreamSync2-test
Disable hipStreamSync2 test for hip-clang.
2019-05-24 14:15:54 +05:30
Maneesh Gupta 30ccb66949 Merge pull request #1117 from aaronenyeshi/fix-exit-code-hipcc
Fix hipcc exit code when failing
2019-05-24 14:15:44 +05:30
Laurent Morichetti de89102528 Add support for code object v3
Use the code object manager library to parse the code object metadata. Both
code object v2 and v3 formats are now supported for HCC generated binaries.
2019-05-23 18:03:32 -07:00
Yaxun Sam Liu 6360570532 Fix device lib path for hip-clang.
We now always need device lib path when compiling and not need it at linking.
2019-05-23 15:11:02 -04:00
Evgeny Mankov 7db992cf44 [HIPIFY] Add device texture fetch functions support
+ Add a corresponding reverse engineered sample tex2dKernel with texture template
2019-05-23 12:47:08 +03:00
Brian Sumner e481012f43 Update kernel language documentation 2019-05-22 12:30:00 -07:00
Aaron Enye Shi 2b11a8bf0c Fix bug in __smid not setting correct size
The SZ field should minus by 1 since SIZE range is 1..32. Also add comments that results may vary.
2019-05-22 19:20:09 +00:00
Evgeny Mankov 49b9df7a9e [HIP] fix typo in #1127 2019-05-22 20:48:18 +03:00
Evgeny Mankov 6806ab6745 [HIP] fix nvcc path break in #1127 2019-05-22 20:04:45 +03:00
Evgeny Mankov 9cb3e9aa5e [HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D
+ Makes hip_Memcpy2D struct compatible with CUDA_MEMCPY2D struct
+ Add hipMemcpyParam2D support in nvcc fallback path
+ Update hipify-clang, tests and docs accordingly
2019-05-22 18:31:39 +03:00
Konstantin Pyzhov d2125f0325 Updated kernel binary file for hipModule test. 2019-05-21 13:21:48 -04:00
Evgeny Mankov 7664560f14 [HIP][tests] Copyright notice update 2019-05-20 18:46:23 +03:00
Evgeny Mankov 5c205b75f5 [HIPIFY][tests] Add reverse engineered HIP sample "peer2peer"
+ Fix typo in sample "stream"
2019-05-20 17:16:11 +03:00
Evgeny Mankov c3c42834ab [HIPIFY][doc] Update README.md
+ Populate supported CUDA and LLVM releases with hyperlinks
2019-05-20 13:03:26 +03:00
Konstantin Pyzhov adf3b8774e Disable hipStreamSync2 test for hip-clang. 2019-05-20 02:13:30 -04:00
Yaxun Sam Liu d088a8c23b Fix build failure due to hiprtc for HIP-Clang 2019-05-17 09:52:43 -04:00
Aaron Enye Shi 303ba600d6 Fix hipcc exit code when failing 2019-05-16 20:36:58 +00:00
Evgeny Mankov 633323c981 Update README.md 2019-05-16 18:16:17 +03:00
Evgeny Mankov df2a64cf0d [HIPIFY][doc] Update README.md
+ Update logs
+ Formatting
2019-05-16 18:07:11 +03:00
Evgeny Mankov 21518887bc Merge pull request #1115 from emankov/master
[HIPIFY][cuDNN] Add cudnnGetFilter4dDescriptor support
2019-05-16 16:39:34 +03:00
Evgeny Mankov 02f8dfe7d8 [HIPIFY][cuDNN] Add cudnnGetFilter4dDescriptor support
+ Update cudnn_convolution_forward test accordingly
2019-05-16 16:36:23 +03:00