Evgeny Mankov
9fe55a3d0d
Merge pull request #746 from emankov/master
...
[HIPIFY][doc] Update README.md
2018-11-01 19:13:22 +03:00
Evgeny Mankov
83d1b50615
[HIPIFY][doc] Update README.md
...
+ Split Linux and Windows sections
+ Rewrite Testing section
2018-11-01 19:11:40 +03:00
Evgeny Mankov
27bb4808d9
Merge pull request #745 from emankov/master
...
[HIPIFY][fix] Fix typo and functions' string arguments
2018-11-01 17:03:01 +03:00
Evgeny Mankov
48abb4a36b
[HIPIFY][fix] Fix typo and functions' string arguments
...
+ Fix typo with missing comma in counterNames array
+ Change std::string argument to const std::string& argument in all functions
2018-11-01 16:57:57 +03:00
Maneesh Gupta
9fdc1cb875
Merge pull request #744 from mangupta/hipfuncattrib
...
typedef struct hipFuncAttributes now C compatible.
2018-10-31 16:25:25 +05:30
Jeff Daily
6eac038694
typedef struct hipFuncAttributes now C compatible.
...
Fixes #591 .
Fixes #694 .
2018-10-31 14:12:45 +05:30
Maneesh Gupta
a75d4c0ecc
Merge pull request #733 from ex-rzr/fix_array_alloc_size
...
Fix allocation size of arrays with multiple and/or non-32-bit channels
2018-10-31 14:08:58 +05:30
Maneesh Gupta
c7f2198c6e
Merge pull request #714 from aaronenyeshi/remove-static-hip-device
...
Remove libhip_device.a static library
2018-10-31 14:08:29 +05:30
Maneesh Gupta
8f667984af
Merge pull request #713 from scchan/master-hcc_early_finalize_support
...
Support more than one device code blobs in a single .kernel section
2018-10-31 14:04:06 +05:30
Evgeny Mankov
ec68fda25a
Merge pull request #741 from emankov/master
...
[HIPIFY][fix][#739 ] Fix garbage after replacements
2018-10-30 19:37:19 +03:00
Evgeny Mankov
2ab8e92195
[HIPIFY][fix][ #739 ] Fix garbage after replacements
...
[Issue] https://github.com/ROCm-Developer-Tools/HIP/issues/739
[Resolution] Always use an std::string not a clang::StringRef for replacement
P.S. Occurred only on Linux, on Windows works fine.
2018-10-30 19:35:59 +03:00
Evgeny Mankov
b2e6ce7be0
Merge pull request #740 from emankov/master
...
[HIPIFY][fix] Return back cudaDeviceProp's struct field warpSize to hipWarpSize mapping
2018-10-30 15:55:17 +03:00
Evgeny Mankov
3489fe9ca1
[HIPIFY][fix] Return back cudaDeviceProp's struct field warpSize to hipWarpSize mapping.
2018-10-30 15:53:00 +03:00
Maneesh Gupta
a36889113c
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
93d12de69e
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
2af2827a05
[HIPIFY] Modify HIP types to conform to CUDA's ones
2018-10-29 20:51:25 +03:00
Evgeny Mankov
ce5269025c
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
41bc184e90
[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
Anton Gorenko
6e6297f3cd
Fix allocation size of arrays with multiple and/or non-32-bit channels
...
hipMallocArray and hipMalloc3DArray must use sum of bits
of all components.
2018-10-29 18:12:00 +06:00
Evgeny Mankov
c79e0ab55b
Merge pull request #729 from emankov/master
...
[HIPIFY][doc] Readme update
2018-10-26 15:04:00 +03:00
Evgeny Mankov
5ab9c4bbca
[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
Aaron Enye Shi
ba43d1ce1b
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 .
2018-10-25 19:52:35 +00:00
Evgeny Mankov
c54ca16fb5
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
b244d1fc99
[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
a743939900
hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.
2018-10-25 13:32:17 +01:00
Maneesh Gupta
05beeec84d
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
cd53504215
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
df02a8ef5f
Merge pull request #716 from yxsamliu/gfx906
...
Let hipcc handle gfx906 for hip-clang
2018-10-25 06:01:16 +05:30
Maneesh Gupta
7b6d232672
Fix logic for double variants of __shfl*
...
Change-Id: I604f00b54cf4bd9c5f26ca6fa680fca5e9629417
2018-10-24 12:39:09 +05:30
Maneesh Gupta
b01ac26948
Make HIP functional again with HCC from ROCm 1.9.x
...
Change-Id: I214acdfd0b79dcf783993e44fe31baee64fd4dc3
2018-10-24 10:41:56 +05:30
Evgeny Mankov
7631fd7f90
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
75972cb51d
[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
1f7b924e2e
Let hipcc handle gfx906 for hip-clang
2018-10-21 10:04:30 -04:00
Maneesh Gupta
407e092a13
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
Siu Chi Chan
f39873c584
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.
2018-10-18 17:00:27 -04:00
Evgeny Mankov
23c8a3e18f
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
865c6f23c7
[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
3678063598
Dumb workaround is still needed, so add it back.
2018-10-18 15:33:46 +01:00
Alex Voicu
59533b84e1
Guard new includes.
2018-10-18 12:29:27 +01:00
Alex Voicu
602280eb8b
Re-sync with upstream.
2018-10-18 12:27:03 +01:00
Maneesh Gupta
30523b72a2
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
9143ae6bdb
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
c7a147f109
Merge pull request #711 from nicholasmalaya/patch-1
...
Updates to HIP porting guide
2018-10-18 12:06:31 +05:30
Maneesh Gupta
3f87e33c9a
Merge pull request #710 from mangupta/use_hipLaunchKernelGGL
...
Replace hipLaunchKernel -> hipLaunchKernelGGL
2018-10-18 08:36:59 +05:30
Nicholas Malaya
bfbc1298d1
Update hip_porting_guide.md
2018-10-17 14:27:11 -05:00
Nicholas Malaya
adc7741441
Fixing link
2018-10-17 14:26:49 -05:00
Nicholas Malaya
319f7232c2
Fixing a link
2018-10-17 14:25:54 -05:00
Nicholas Malaya
4c2e4ead8d
Adding library equivalent section
2018-10-17 14:25:07 -05:00
Nicholas Malaya
41279dcb38
Small editing changes to clean up document
2018-10-17 14:11:25 -05:00
Nicholas Malaya
4939444a51
Fixing a broken indentation
...
Minor (cosmetic) edit to make items appear in ordered bulleted list
2018-10-17 13:56:51 -05:00