Граф коммитов

13474 Коммитов

Автор SHA1 Сообщение Дата
emankov d5c3e5ea71 [HIPIFY][tests] Add cuSPARSE CSR-BCSR-SPMV-conversions example 2019-04-30 17:37:34 +03:00
Michael LIAO 2380eb8ecc [Device Function] Fix implementation of __bitinsert_u64
- It's a common mistake by assuming 1 << shamt would be promoted to
  64-bit, if shamt is a 64-bit integer. That's not the case. Replace
  that left shift to a 64-bit one to ensure it won't fall into undefined
  behavior.
- Fix the host-side implementation as well for device function testing.
2019-04-30 08:59:13 -04:00
foreman f18b734f30 P4 to Git Change 1776336 by chui@ocl-promo-incrementor on 2019/04/30 03:00:03
SWDEV-2 - Change OpenCL version number from 2885 to 2886.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2633 edit
2019-04-30 03:39:29 -04:00
Michael LIAO a7a4d80f54 [devfunc] Re-implement ballot using AMDGCN builtins
- As the signature of `amdgcn.icmp` is changed for next-gen chip, using
  clang builtins is portable way to hide that details.
2019-04-29 17:21:25 -04:00
Michael LIAO 92f90c3651 [hipcc] Repace --rpath with --rpath-link
- With `--rpath`, app's RUNPATH is set to the temporary library path
  during build. Instead, `--rpath-link` should be used to leave RUNPATH
  untouched. User should set LD_LIBRARY_PATH or system ld.so.conf to
  proper setting.
2019-04-29 16:01:16 -04:00
foreman 5f99d6ed66 P4 to Git Change 1776019 by gandryey@gera-w8 on 2019/04/29 14:13:29
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove GPU_DEVICE_NAME support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#605 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#125 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#305 edit
2019-04-29 14:30:36 -04:00
foreman 7101fd9ed2 P4 to Git Change 1775995 by gandryey@gera-w8 on 2019/04/29 13:46:53
SWDEV-79445 - OCL generic changes and code clean-up
	- Enable P2P extension for PAL path, currently it's staging copy only
	- Fix P2P staging copy

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#243 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#336 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#92 edit
2019-04-29 13:58:26 -04:00
foreman 1e33e8be4d P4 to Git Change 1775995 by gandryey@gera-w8 on 2019/04/29 13:46:53
SWDEV-79445 - OCL generic changes and code clean-up
	- Enable P2P extension for PAL path, currently it's staging copy only
	- Fix P2P staging copy

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#243 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#336 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#77 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#124 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#74 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#92 edit
2019-04-29 13:58:26 -04:00
foreman 1dddb78021 P4 to Git Change 1775916 by chui@ocl-promo-incrementor on 2019/04/29 11:12:31
SWDEV-2 - Change OpenCL version number from 2884 to 2885.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2632 edit
2019-04-29 11:28:38 -04:00
Evgeny Mankov 67175ea97d Merge pull request #1060 from emankov/master
[HIPIFY][doc] Update Readme.md: latest cuDNN 7.5.1.10 is supported
2019-04-29 15:42:37 +03:00
Evgeny Mankov 116daa3a1f [HIPIFY][doc] Update Readme.md: latest cuDNN 7.5.1.10 is supported
+ tested with CUDA 9.0, 9,2, 10.0 and 10.1
2019-04-29 15:41:08 +03:00
Jenkins f7db1781cd Merge 'master' into 'amd-master'
Change-Id: I95e3e5332a3e6a8e23ea717df4df47490916824b
2019-04-26 23:01:32 -07:00
Aaron Enye Shi 235c6877c8 Revert "Use COMgr to read Kernel Args Metadata (#1006)"
This reverts commit 2c80975e9c.
2019-04-26 16:04:56 -04:00
Aaron Enye Shi acfa46bbbc Revert "Add COMGR relative path for build machines"
This reverts commit 6b3095f7cb.
2019-04-26 16:04:56 -04:00
Aaron Enye Shi 2378c7a20b Revert "Add dependency on amd_comgr in hip-config-*.cmake.in"
This reverts commit b8fe5ba572.
2019-04-26 16:04:56 -04:00
foreman 33ebadc935 P4 to Git Change 1775366 by kjayapra@99_HIPWS_SLV_CHECKIN on 2019/04/26 14:48:23
SWDEV-144570 - hipFuncGetAttributes() API changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#28 edit
2019-04-26 15:15:48 -04:00
Jenkins 4b84c1c486 Merge 'master' into 'amd-master'
Change-Id: I00292478e5ccfbb1007e449673e09c11d717782d
2019-04-25 17:18:46 -07:00
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