Evgeny Mankov
8c98204b9c
[HIPIFY] Modify HIP types to conform to CUDA's ones
...
[ROCm/clr commit: 2af2827a05 ]
2018-10-29 20:51:25 +03:00
Alex Voicu
b6ded4d70a
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
...
[ROCm/clr commit: 0f911d7727 ]
2018-10-29 15:41:44 +00:00
Evgeny Mankov
84f137562a
Merge pull request #734 from emankov/master
...
[HIPIFY] CUDA Runtime API data types total revise
[ROCm/clr commit: ce5269025c ]
2018-10-29 17:16:07 +03:00
Evgeny Mankov
4e7e8b7704
[HIPIFY] CUDA Runtime API data types total revise
...
+ for all CUDA versions up to 10.0
+ add missing types
+ fix typos
+ sync with HIP
+ sync with CUDA Driver API
+ update CUDA_Runtime_API_functions_supported_by_HIP.md
+ update CUDA Driver API map accordingly
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
[ROCm/clr commit: 41bc184e90 ]
2018-10-29 17:13:00 +03:00
Anton Gorenko
600e5cdb58
Fix allocation size of arrays with multiple and/or non-32-bit channels
...
hipMallocArray and hipMalloc3DArray must use sum of bits
of all components.
[ROCm/clr commit: 6e6297f3cd ]
2018-10-29 18:12:00 +06:00
Alex Voicu
44f0ee9cff
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
...
[ROCm/clr commit: b68caf7653 ]
2018-10-28 17:02:10 +00:00
Alex Voicu
1ec78f6d67
Rely on code object metadat for kernarg arguments alignof and sizeof.
...
[ROCm/clr commit: 299b9d1382 ]
2018-10-28 17:01:00 +00:00
Yaxun Sam Liu
cc101b22ed
Add HIP_DUMP_CODE_OBJECT
...
[ROCm/clr commit: 0027a54d8b ]
2018-10-26 14:14:00 -04:00
Yaxun Sam Liu
4012f63d87
Adding checks and debug output for fat binary for hip-clang
...
[ROCm/clr commit: da6c5c152e ]
2018-10-26 14:13:12 -04:00
Evgeny Mankov
bf6cc74f25
Merge pull request #729 from emankov/master
...
[HIPIFY][doc] Readme update
[ROCm/clr commit: c79e0ab55b ]
2018-10-26 15:04:00 +03:00
Evgeny Mankov
8c3f9ebac6
[HIPIFY][doc] Readme update
...
Clang 7.0.0 release has a known bug https://bugs.llvm.org/show_bug.cgi?id=36384 , thus 7.0.0 is unstable release for Linux and Windows.
Last stable and tested LLVM+Clang release is 6.0.1.
[ROCm/clr commit: 5ab9c4bbca ]
2018-10-26 15:01:58 +03:00
Aaron Enye Shi
1c05b06bcd
Remove libhip_device.a static library
...
Move remaining function definitions from device_util.cpp to hip_runtime.h header. We can now remove the static library completely as device_util.cpp was the last file part of target hip::hip_device .
[ROCm/clr commit: ba43d1ce1b ]
2018-10-25 19:52:35 +00:00
Evgeny Mankov
3d50af1e3b
Merge pull request #727 from emankov/master
...
[HIPIFY][cmake][fix] Mark all target_link_libraries with PRIVATE keyword
[ROCm/clr commit: c54ca16fb5 ]
2018-10-25 17:11:30 +03:00
Evgeny Mankov
587ba6f1d4
[HIPIFY][cmake][fix] Mark all target_link_libraries with PRIVATE keyword
...
[Reason]
Avoid cmake error occurred when mixing signatures with AddLLVM.cmake
[Error]
CMake Error at CMakeLists.txt:26 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "hipify-clang".
All uses of target_link_libraries with a target must be either all-keyword or all-plain.
Error occurred only on Linux and LLVM 7.0.0
[ROCm/clr commit: b244d1fc99 ]
2018-10-25 17:09:18 +03:00
Alex Voicu
5a6601c62a
hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.
...
[ROCm/clr commit: a743939900 ]
2018-10-25 13:32:17 +01:00
Jenkins
f8062ed739
Merge 'master' into 'amd-master'
...
Change-Id: I01408ac709c29e815234097f4acdc07e9b98e8c0
[ROCm/clr commit: bb5a732785 ]
2018-10-25 04:09:35 -05:00
Maneesh Gupta
bd0e1c87b7
Merge pull request #723 from mangupta/fix_double_shfl
...
Fix logic for double variants of __shfl*
[ROCm/clr commit: 05beeec84d ]
2018-10-25 06:01:38 +05:30
Maneesh Gupta
42a8d09f51
Merge pull request #720 from mangupta/make_rocm19_usable_again
...
Make HIP functional again with HCC from ROCm 1.9.x
[ROCm/clr commit: cd53504215 ]
2018-10-25 06:01:27 +05:30
Maneesh Gupta
bf119ef4e8
Merge pull request #716 from yxsamliu/gfx906
...
Let hipcc handle gfx906 for hip-clang
[ROCm/clr commit: df02a8ef5f ]
2018-10-25 06:01:16 +05:30
foreman
4842e57b41
P4 to Git Change 1623601 by skudchad@skudchad_test2_win_opencl on 2018/10/24 17:52:57
...
SWDEV-145570 - [HIP] Refactor hipStreamAddCallback
ReviewBoardURL = http://ocltc.amd.com/reviews/r/16045/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#15 edit
[ROCm/clr commit: 5a126bf678 ]
2018-10-24 18:00:42 -04:00
Maneesh Gupta
b6f6734285
Fix logic for double variants of __shfl*
...
Change-Id: I604f00b54cf4bd9c5f26ca6fa680fca5e9629417
[ROCm/clr commit: 7b6d232672 ]
2018-10-24 12:39:09 +05:30
Maneesh Gupta
127f7d0320
Make HIP functional again with HCC from ROCm 1.9.x
...
Change-Id: I214acdfd0b79dcf783993e44fe31baee64fd4dc3
[ROCm/clr commit: b01ac26948 ]
2018-10-24 10:41:56 +05:30
Qianfeng Zhang
b12c16f72b
Make correct checking of the returned hipDeviceptr_t from read_global_description()
...
[ROCm/clr commit: 443698ce00 ]
2018-10-23 21:13:11 +08:00
Evgeny Mankov
d6a1675284
Merge pull request #719 from emankov/master
...
[HIPIFY] Split CUDA2HIP map into a number of maps based on API type
[ROCm/clr commit: 7631fd7f90 ]
2018-10-23 00:03:02 +03:00
Evgeny Mankov
26509d1f68
[HIPIFY] Split CUDA2HIP map into a number of maps based on API type
...
[Reasons]
+ Simplify the support
+ Optimize compilation and code generation time
[Additionally]
+ Update minimum required version of cmake
+ Fix MSVC compile options force update
[ROCm/clr commit: 75972cb51d ]
2018-10-23 00:00:10 +03:00
Yaxun Sam Liu
5626b48795
Let hipcc handle gfx906 for hip-clang
...
[ROCm/clr commit: 1f7b924e2e ]
2018-10-21 10:04:30 -04:00
Jenkins
e59c1ce00f
Merge 'master' into 'amd-master'
...
Change-Id: I134ce409dd1a0cbf93c1185b6f92089775d327fa
[ROCm/clr commit: e64f7d4609 ]
2018-10-19 04:09:39 -05:00
Maneesh Gupta
b859ab46df
Merge pull request #705 from ROCm-Developer-Tools/feature_minimal_changes_for_hc_next
...
Feature minimal changes for hc next
[ROCm/clr commit: 407e092a13 ]
2018-10-19 06:58:31 +05:30
Siu Chi Chan
5d1a265efc
Support more than one bundles in a single .kernel section
...
When compiling with Early Finalization enabled in HCC,
the resulting .kernel section of the host object now may
contain more than one device code bundles. This is to
teach the HIP runtime to correctly extract all the
bundles from the .kernel section.
[ROCm/clr commit: f39873c584 ]
2018-10-18 17:00:27 -04:00
foreman
b3b400f681
P4 to Git Change 1620765 by skudchad@skudchad_test2_win_opencl on 2018/10/17 16:58:04
...
SWDEV-145570 - [HIP] Track last used event and use last enqueued command in a stream rather than creating a new event
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15996/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#20 edit
[ROCm/clr commit: 8526ed9b96 ]
2018-10-18 13:41:32 -04:00
Evgeny Mankov
1e6207db23
Merge pull request #712 from emankov/master
...
[HIPIFY] CUDA Driver API data types total revise
[ROCm/clr commit: 23c8a3e18f ]
2018-10-18 18:52:41 +03:00
Evgeny Mankov
ff564c763c
[HIPIFY] CUDA Driver API data types total revise
...
+ for all CUDA versions
+ add missing types
+ fix typos
+ sync with HIP
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
[ROCm/clr commit: 865c6f23c7 ]
2018-10-18 18:50:24 +03:00
Alex Voicu
35e9dfc593
Dumb workaround is still needed, so add it back.
...
[ROCm/clr commit: 3678063598 ]
2018-10-18 15:33:46 +01:00
Alex Voicu
fe7e09d222
Guard new includes.
...
[ROCm/clr commit: 59533b84e1 ]
2018-10-18 12:29:27 +01:00
Alex Voicu
c505c2be38
Re-sync with upstream.
...
[ROCm/clr commit: 602280eb8b ]
2018-10-18 12:27:03 +01:00
Maneesh Gupta
5070b00c83
Merge pull request #688 from aaronenyeshi/fix-sinf-cosf-ocml
...
Use sinf and cosf from ocml device libs
[ROCm/clr commit: 30523b72a2 ]
2018-10-18 16:39:20 +05:30
Maneesh Gupta
cf95358003
Merge pull request #692 from whchung/hip-reinit-take2
...
HIP program state re-initialization logic (take 2)
[ROCm/clr commit: 9143ae6bdb ]
2018-10-18 12:06:41 +05:30
Maneesh Gupta
c5a8113e91
Merge pull request #711 from nicholasmalaya/patch-1
...
Updates to HIP porting guide
[ROCm/clr commit: c7a147f109 ]
2018-10-18 12:06:31 +05:30
Maneesh Gupta
14aea08f73
Merge pull request #710 from mangupta/use_hipLaunchKernelGGL
...
Replace hipLaunchKernel -> hipLaunchKernelGGL
[ROCm/clr commit: 3f87e33c9a ]
2018-10-18 08:36:59 +05:30
Nicholas Malaya
ad5861ad46
Update hip_porting_guide.md
...
[ROCm/clr commit: bfbc1298d1 ]
2018-10-17 14:27:11 -05:00
Nicholas Malaya
4f63362a1c
Fixing link
...
[ROCm/clr commit: adc7741441 ]
2018-10-17 14:26:49 -05:00
Nicholas Malaya
be03a6f8b2
Fixing a link
...
[ROCm/clr commit: 319f7232c2 ]
2018-10-17 14:25:54 -05:00
Nicholas Malaya
26460eac74
Adding library equivalent section
...
[ROCm/clr commit: 4c2e4ead8d ]
2018-10-17 14:25:07 -05:00
Nicholas Malaya
4b1520b567
Small editing changes to clean up document
...
[ROCm/clr commit: 41279dcb38 ]
2018-10-17 14:11:25 -05:00
Nicholas Malaya
ccfb880f30
Fixing a broken indentation
...
Minor (cosmetic) edit to make items appear in ordered bulleted list
[ROCm/clr commit: 4939444a51 ]
2018-10-17 13:56:51 -05:00
Nicholas Malaya
1d7a6a7c1e
Update hip_porting_guide.md
...
Adding hyperlink to bin/hipconvertinplace.sh
[ROCm/clr commit: 20bb485199 ]
2018-10-17 13:49:47 -05:00
Jenkins
837b60ca33
Merge 'master' into 'amd-master'
...
Change-Id: I9cd9ee0d875a2bf345b0c996a63e9168a76b1108
[ROCm/clr commit: 70f67ff7be ]
2018-10-17 04:09:35 -05:00
Maneesh Gupta
50e89b0a30
Replace hipLaunchKernel -> hipLaunchKernelGGL
...
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
[ROCm/clr commit: e1fe095471 ]
2018-10-17 14:32:25 +05:30
Maneesh Gupta
7fc7aa1e04
Fix typos in Jenkinsfile
...
[ROCm/clr commit: 3bf8e9ad8e ]
2018-10-17 11:13:37 +05:30
Maneesh Gupta
75881e172b
Update Jenkinsfile
...
Disable rocm-1.9x testing in CI due to incompatible changes with HCC from ROCm 1.9.x
[ROCm/clr commit: f41924d42e ]
2018-10-17 11:03:43 +05:30