Commit Graph

3005 Commits

Author SHA1 Message Date
Maneesh Gupta 2c99ef9aee Merge pull request #726 from ROCm-Developer-Tools/feature_minimal_changes_for_hc_next
hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.
2018-10-30 09:20:39 +05:30
Evgeny Mankov 9d3de1e552 Merge pull request #736 from emankov/master
[HIPIFY] Modify HIP types to conform to CUDA's ones
2018-10-29 20:57:22 +03:00
Evgeny Mankov f83eabfa9e [HIPIFY] Modify HIP types to conform to CUDA's ones 2018-10-29 20:51:25 +03:00
Evgeny Mankov 25aae88fd5 Merge pull request #734 from emankov/master
[HIPIFY] CUDA Runtime API data types total revise
2018-10-29 17:16:07 +03:00
Evgeny Mankov c5bfa09b04 [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
2018-10-29 17:13:00 +03:00
Evgeny Mankov 4b18752641 Merge pull request #729 from emankov/master
[HIPIFY][doc] Readme update
2018-10-26 15:04:00 +03:00
Evgeny Mankov 368e9d5100 [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.
2018-10-26 15:01:58 +03:00
Evgeny Mankov 7c3cea210b Merge pull request #727 from emankov/master
[HIPIFY][cmake][fix] Mark all target_link_libraries with PRIVATE keyword
2018-10-25 17:11:30 +03:00
Evgeny Mankov 2c367bc8af [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
2018-10-25 17:09:18 +03:00
Alex Voicu e4181b85be hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed. 2018-10-25 13:32:17 +01:00
Maneesh Gupta f6f160fa6b Merge pull request #723 from mangupta/fix_double_shfl
Fix logic for double variants of __shfl*
2018-10-25 06:01:38 +05:30
Maneesh Gupta 7e5b2dc91b Merge pull request #720 from mangupta/make_rocm19_usable_again
Make HIP functional again with HCC from ROCm 1.9.x
2018-10-25 06:01:27 +05:30
Maneesh Gupta c47c54cab9 Merge pull request #716 from yxsamliu/gfx906
Let hipcc handle gfx906 for hip-clang
2018-10-25 06:01:16 +05:30
Maneesh Gupta 19404e603d Fix logic for double variants of __shfl*
Change-Id: I604f00b54cf4bd9c5f26ca6fa680fca5e9629417
2018-10-24 12:39:09 +05:30
Maneesh Gupta 0703a2d0f0 Make HIP functional again with HCC from ROCm 1.9.x
Change-Id: I214acdfd0b79dcf783993e44fe31baee64fd4dc3
2018-10-24 10:41:56 +05:30
Evgeny Mankov d4358295f5 Merge pull request #719 from emankov/master
[HIPIFY] Split CUDA2HIP map into a number of maps based on API type
2018-10-23 00:03:02 +03:00
Evgeny Mankov 5d1255272b [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
2018-10-23 00:00:10 +03:00
Yaxun Sam Liu 283fb42604 Let hipcc handle gfx906 for hip-clang 2018-10-21 10:04:30 -04:00
Maneesh Gupta 4a00b244a3 Merge pull request #705 from ROCm-Developer-Tools/feature_minimal_changes_for_hc_next
Feature minimal changes for hc next
2018-10-19 06:58:31 +05:30
Evgeny Mankov 7e8046cfe3 Merge pull request #712 from emankov/master
[HIPIFY] CUDA Driver API data types total revise
2018-10-18 18:52:41 +03:00
Evgeny Mankov 520e795a8d [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
2018-10-18 18:50:24 +03:00
Alex Voicu 5ccaf2fa7d Dumb workaround is still needed, so add it back. 2018-10-18 15:33:46 +01:00
Alex Voicu e66a75ea55 Guard new includes. 2018-10-18 12:29:27 +01:00
Alex Voicu fe959f7bd7 Re-sync with upstream. 2018-10-18 12:27:03 +01:00
Maneesh Gupta 1a5025c57e Merge pull request #688 from aaronenyeshi/fix-sinf-cosf-ocml
Use sinf and cosf from ocml device libs
2018-10-18 16:39:20 +05:30
Maneesh Gupta d133493669 Merge pull request #692 from whchung/hip-reinit-take2
HIP program state re-initialization logic (take 2)
2018-10-18 12:06:41 +05:30
Maneesh Gupta 0b1333255f Merge pull request #711 from nicholasmalaya/patch-1
Updates to HIP porting guide
2018-10-18 12:06:31 +05:30
Maneesh Gupta e889c04747 Merge pull request #710 from mangupta/use_hipLaunchKernelGGL
Replace hipLaunchKernel -> hipLaunchKernelGGL
2018-10-18 08:36:59 +05:30
Nicholas Malaya 26e9489287 Update hip_porting_guide.md 2018-10-17 14:27:11 -05:00
Nicholas Malaya 62c57a65bd Fixing link 2018-10-17 14:26:49 -05:00
Nicholas Malaya 29db8e9678 Fixing a link 2018-10-17 14:25:54 -05:00
Nicholas Malaya 32c122eae5 Adding library equivalent section 2018-10-17 14:25:07 -05:00
Nicholas Malaya b1b9366656 Small editing changes to clean up document 2018-10-17 14:11:25 -05:00
Nicholas Malaya 2ef15fd5b6 Fixing a broken indentation
Minor (cosmetic) edit to make items appear in ordered bulleted list
2018-10-17 13:56:51 -05:00
Nicholas Malaya d9e03872ab Update hip_porting_guide.md
Adding hyperlink to bin/hipconvertinplace.sh
2018-10-17 13:49:47 -05:00
Maneesh Gupta 52e320f396 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be
2018-10-17 14:32:25 +05:30
Maneesh Gupta c9e4ed1149 Fix typos in Jenkinsfile 2018-10-17 11:13:37 +05:30
Maneesh Gupta f5356fa9ec Update Jenkinsfile
Disable rocm-1.9x testing in CI due to incompatible changes with HCC from ROCm 1.9.x
2018-10-17 11:03:43 +05:30
Maneesh Gupta c24b06fa0a Merge pull request #703 from mangupta/stream_create_with_priority
Implementation for stream priority
2018-10-17 10:53:43 +05:30
Maneesh Gupta dbe4431d98 Merge pull request #702 from aaronenyeshi/fix-missing-irif-lib
Replace IRIF fences with atomic_work_item_fence
2018-10-17 10:53:27 +05:30
Maneesh Gupta 4b754e1d77 Merge pull request #698 from yxsamliu/compile-flags
Add HIPCC_COMPILE_FLAGS_APPEND
2018-10-17 10:53:17 +05:30
Maneesh Gupta 7ea27d05bc Merge pull request #696 from gargrahul/fix_texrestypelin_size
Fixed image width for linear resource type texture
2018-10-17 06:11:23 +05:30
Maneesh Gupta 797d151444 Merge pull request #708 from mangupta/swdev-125523
Add missing hipHostRegister flags on nvcc path
2018-10-17 06:10:25 +05:30
Evgeny Mankov 45921fc035 Merge pull request #709 from emankov/master
[HIPIFY] Code cleanup and formatting
2018-10-15 15:37:38 +03:00
Evgeny Mankov ee3a5cc722 [HIPIFY] Code cleanup and formatting 2018-10-15 15:27:37 +03:00
Maneesh Gupta 64d1cf86b7 Add missing hipHostRegister flags on nvcc path
Change-Id: I69f09204d9c544935104d4168ab8d3626666a623
2018-10-15 15:30:24 +05:30
Alex Voicu 7839045d30 Update samples. 2018-10-13 23:28:22 +01:00
Alex Voicu 5312336ce2 Minimal should mean minimal. 2018-10-11 00:21:41 +01:00
Alex Voicu 50265028fc Trailing whitespace is still not the final frontier. 2018-10-11 00:08:09 +01:00
Alex Voicu 3e4dbd32a1 Address Aaron's comments 2018-10-11 00:03:01 +01:00