Evgeny Mankov
c7243ebdae
Merge pull request #1089 from emankov/master
...
[HIPIFY][perl] Support of hipify-perl generation from hipify-clang: n…
2019-05-08 15:59:45 +03:00
Evgeny Mankov
82efa64f55
[HIPIFY][perl] Support of hipify-perl generation from hipify-clang: next steps
...
+ Generate transformation map sorted by entity type.
+ Add a generation of supported header files.
2019-05-08 15:25:06 +03:00
foreman
0449bf058e
P4 to Git Change 1779910 by chui@ocl-promo-incrementor on 2019/05/08 03:00:03
...
SWDEV-2 - Change OpenCL version number from 2892 to 2893.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2640 edit
2019-05-08 05:12:29 -04:00
Maneesh Gupta
b3c159344e
Merge pull request #1088 from ROCm-Developer-Tools/mangupta-patch-1
...
[ci] Enable tests on ROCm 2.4
2019-05-08 12:44:02 +05:30
Maneesh Gupta
a78e719835
[ci] Enable tests on ROCm 2.4
2019-05-08 12:07:33 +05:30
Jenkins
5dfa7129e7
Merge 'master' into 'amd-master'
...
Change-Id: I0b8ccb710d733f41d62227750daf4adc38f401da
2019-05-07 12:15:02 -07:00
Evgeny Mankov
df8909d73d
Merge pull request #1085 from emankov/master
...
[HIPIFY][perl] Initial support of hipify-perl generation from hipify-clang
2019-05-07 17:30:39 +03:00
Evgeny Mankov
849155d865
[HIPIFY][perl] Initial support of hipify-perl generation from hipify-clang
...
+ Only a generation of transformation map of CUDA entities supported by HIP is implemented.
+ 3 hipify-clang options are added: -perl, -o-perl-map, -o-perl-map-dir.
+ OptionsParser mode is changed from OneOrMore to Optional to support hipify-perl generation without actual hipification.
+ Add explicit control of source files specification absence in case of no perl generation.
2019-05-07 17:27:34 +03:00
Maneesh Gupta
c6cf2a9e26
Merge pull request #1082 from gargrahul/fix_hipmemcpy_symbol_nvcc
...
Fix symbol address issue on NVCC path
2019-05-07 16:17:01 +05:30
Maneesh Gupta
c6c5e4cee8
Merge pull request #1081 from mangupta/swdev-181624
...
Implement hipExtGetLinkTypeAndHopCount for ROCm devices
2019-05-07 16:15:41 +05:30
Maneesh Gupta
51e158c633
Merge pull request #1075 from mhbliao/hliao/master/test_fix2
...
[test] Add device variant of `std::declval`.
2019-05-07 16:15:01 +05:30
Maneesh Gupta
7f759750d1
Merge pull request #1074 from mhbliao/hliao/master/test_fix
...
[test] Use explicit cast for address space cast.
2019-05-07 16:09:15 +05:30
Maneesh Gupta
d71afeccc8
Merge pull request #1073 from kpyzhov/multi-thread-device-test
...
hipMultiThreadDevice test: Reduced maximum number of created HIP stre…
2019-05-07 16:08:37 +05:30
Maneesh Gupta
8f352427f4
Merge pull request #1072 from kpyzhov/master
...
Refined hipSetDevice test.
2019-05-07 16:07:36 +05:30
Maneesh Gupta
0fffbbe67a
Merge pull request #1069 from mhbliao/hliao/master/test_cleanup
...
[test] Remove unused common routines.
2019-05-07 16:02:57 +05:30
Maneesh Gupta
11972049c6
Merge pull request #1068 from mhbliao/hliao/master/dev_vec_func
...
[devfunc] Add necessary `__device__` and `__host__` attributes.
2019-05-07 16:01:48 +05:30
Yaxun (Sam) Liu
0b43b24d3f
Add documentation for supported clang options ( #1065 )
...
* Add documentation for supported clang options
* Fix typo
2019-05-07 15:59:40 +05:30
wkwchau
ebf986dcee
Return hipErrorInsufficientDriver status when CPU device not found ( #1064 )
...
* Return hipErrorInsufficientDriver status when CPU device not found - no exception thrown
* Return hipErrorInsufficientDriver status when CPU device not found
2019-05-07 15:58:25 +05:30
Maneesh Gupta
46ac83a429
Merge pull request #1061 from mhbliao/hliao/master/hipcc
...
[hip] Repace `--rpath` with `--rpath-link`
2019-05-07 15:57:57 +05:30
Maneesh Gupta
1a1feb600f
Merge pull request #1054 from ssahasra/dry
...
minor cleanup: eliminate repetition
2019-05-07 15:57:46 +05:30
foreman
c1cb3fd812
P4 to Git Change 1779175 by chui@ocl-promo-incrementor on 2019/05/07 03:00:06
...
SWDEV-2 - Change OpenCL version number from 2891 to 2892.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2639 edit
2019-05-07 03:17:33 -04:00
Michael LIAO
de768c22ae
[hip] Add API hipExtModuleLaunchKernel in HIP runtime
2019-05-06 21:20:28 -04:00
Rahul Garg
3be54a903c
Maintain HIP_VISIBLE_DEVICES for kernel launch
2019-05-07 05:09:02 +05:30
Rahul Garg
6cbc70d238
Fix symbol address issue on NVCC path
2019-05-07 03:59:43 +05:30
foreman
9aecfde4a5
P4 to Git Change 1778985 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/06 17:21:57
...
SWDEV-188668 - [HIP] Implemented hipExtModuleLaunchKernel. Ignoring the flag for now.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#14 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#25 edit
2019-05-06 18:02:54 -04:00
foreman
84d257cf3b
P4 to Git Change 1778971 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/06 17:03:12
...
SWDEV-187125 - [HIP] Protect hip::Event with lock and add threadId to logs.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#30 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#18 edit
2019-05-06 17:43:06 -04:00
foreman
0da954f20e
P4 to Git Change 1778949 by michliao@hliao-dev-00-hip.rocm-workspace on 2019/05/06 16:36:53
...
SWDEV-144570 - Fix build failure after switching to gcc-7
- Hex representation of float needs gnu++11. We'd better not relying on
that. Change the float in hex format into alternative representation.
RBT: http://ocltc.amd.com/reviews/r/17300/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#29 edit
2019-05-06 17:20:00 -04:00
Maneesh Gupta
2f43f110d9
Implement hipExtGetLinkTypeAndHopCount for ROCm devices
...
Change-Id: Ie5bb4f640ac6d189c7fceeab22627a7494fd10bd
2019-05-06 15:54:31 +05:30
foreman
e37953f099
P4 to Git Change 1778587 by chui@ocl-promo-incrementor on 2019/05/06 03:00:17
...
SWDEV-2 - Change OpenCL version number from 2890 to 2891.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2638 edit
2019-05-06 03:55:23 -04:00
foreman
6a217d1ea0
P4 to Git Change 1778428 by chui@ocl-promo-incrementor on 2019/05/05 17:08:51
...
SWDEV-2 - Change OpenCL version number from 2889 to 2890.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2637 edit
2019-05-05 17:17:25 -04:00
Michael LIAO
32f69c8bc4
[test] Add device variant of std::declval.
...
- Current clang disallows any invocation of wrong-side functions even
under context with type-inspection only. Work around that by adding a
variant of `std::decl` with `__device__` attribute.
2019-05-03 15:58:31 -04:00
Michael LIAO
a27877794f
[test] Use explicit cast for address space cast.
2019-05-03 14:56:00 -04:00
Maneesh Gupta
2eafa5dcf9
Merge pull request #1062 from mhbliao/hliao/master/icmp
...
[hip] Re-implement ballot using AMDGCN builtins
2019-05-03 17:48:19 +05:30
Maneesh Gupta
ad070d4da5
Merge pull request #1058 from mhbliao/hliao/master/devfunc
...
[Device Function] Fix implementation
2019-05-03 17:47:51 +05:30
Konstantin Pyzhov
e04e408a37
hipMultiThreadDevice test: Reduced maximum number of created HIP streams on Windows.
2019-05-03 05:43:30 -04:00
Konstantin Pyzhov
29fd3812e5
Refined hipSetDevice test.
2019-05-03 05:39:45 -04:00
foreman
0f72983a61
P4 to Git Change 1777875 by chui@ocl-promo-incrementor on 2019/05/03 03:00:03
...
SWDEV-2 - Change OpenCL version number from 2888 to 2889.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2636 edit
2019-05-03 03:09:51 -04:00
foreman
441d322dc8
P4 to Git Change 1777625 by asalmanp@asalmanp-ocl-stg on 2019/05/02 14:31:30
...
SWDEV-132899 - [OCL][GFX10] Add support for Navi12Lite
ReviewBaordURL = http://ocltc.amd.com/reviews/r/17281/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#78 edit
2019-05-02 15:20:45 -04:00
Michael LIAO
aad19f6171
[test] Remove unused common routines.
...
- Remove used common routines, which variadic functions, not supported
feature, are used.
2019-05-02 12:34:07 -04:00
foreman
b6712eb2ed
P4 to Git Change 1777295 by chui@ocl-promo-incrementor on 2019/05/02 03:00:03
...
SWDEV-2 - Change OpenCL version number from 2887 to 2888.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2635 edit
2019-05-02 03:13:01 -04:00
Michael LIAO
a9f90713f3
[devfunc] Add necessary __device__ and __host__ attributes.
...
- Minor clean up to keep consistent function declaration.
2019-05-01 22:26:35 -04:00
foreman
b39d02b166
P4 to Git Change 1777225 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/01 18:47:25
...
SWDEV-188233 - [HIP] Implemented hipGetChannelDesc.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#11 edit
2019-05-01 19:53:29 -04:00
foreman
d3774315a0
P4 to Git Change 1777158 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/01 17:12:01
...
SWDEV-188219 - [HIP] Add hipStreamCreateWithPriority. NOP right now.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#14 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#21 edit
2019-05-01 18:43:47 -04:00
foreman
ef45e9ab42
P4 to Git Change 1777158 by cpaquot@cpaquot-ocl-lc-lnx on 2019/05/01 17:12:01
...
SWDEV-188219 - [HIP] Add hipStreamCreateWithPriority. NOP right now.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#14 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#21 edit
2019-05-01 18:43:47 -04:00
foreman
268627d98e
P4 to Git Change 1776901 by gandryey@gera-w8 on 2019/05/01 11:42:45
...
SWDEV-187956 - [CQE OCL][NAVI 10][WIN][LNX] Assertion failure observed with Subtests of OpenMM on PAL/LC path
- Correct the number of SIMDs and SIMD width for Navi10.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#54 edit
2019-05-01 12:05:50 -04:00
foreman
e79e3e6f21
P4 to Git Change 1776881 by jatang@jatang_win_pal_lc on 2019/05/01 11:04:10
...
SWDEV-174198 - Back out changelist 1776874.
Need to wait for //depot/main/drivers/inc/asic_reg/ai_id.h promotion.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#161 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#58 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#54 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#71 edit
2019-05-01 11:49:17 -04:00
foreman
c8d38859e0
P4 to Git Change 1776874 by jatang@jatang_win_pal_lc on 2019/05/01 10:56:52
...
SWDEV-174198 - Add support for MI100.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#160 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#38 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#57 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#70 edit
2019-05-01 11:44:42 -04:00
foreman
e9dedd6682
P4 to Git Change 1776811 by chui@ocl-promo-incrementor on 2019/05/01 03:00:07
...
SWDEV-2 - Change OpenCL version number from 2886 to 2887.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2634 edit
2019-05-01 03:09:33 -04:00
foreman
cf74994c54
P4 to Git Change 1776765 by todli@todli-win-opencl-kv1 on 2019/04/30 19:30:32
...
SWDEV-181817 - remove HostMemDirectAccess flag for non-tiled 3D image, so that unimplemented pal::Resouce::mapLayers() will not be hit by Fill Image path.
ocltc.amd.com/reviews/r/17238/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#23 edit
2019-04-30 19:41:57 -04:00
Evgeny Mankov
be1e22ffe3
Merge pull request #1063 from emankov/master
...
[HIPIFY][tests] Add cuSPARSE CSR-BCSR-SPMV-conversions example
2019-04-30 17:40:05 +03:00