Commit Graph

2976 Commits

Author SHA1 Message Date
Siu Chi Chan 30ce25e627 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 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
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
Maneesh Gupta da64156fb2 Implementation for stream priority
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged

Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca
2018-10-05 16:27:46 +05:30
Aaron Enye Shi 0787f74ac2 Replace IRIF fences with atomic_work_item_fence 2018-10-04 21:47:28 +00:00
Maneesh Gupta 4ab45ef878 Merge pull request #697 from yxsamliu/dev-lib-path
Let hipcc add --hip-device-lib-path by default for hip-clang
2018-10-04 07:40:37 +05:30
Maneesh Gupta 651d08e750 Merge pull request #700 from ROCm-Developer-Tools/fix-long-long-decl
Fix hip_vector_types.h for long long vectors
2018-10-04 07:39:30 +05:30
Aaron Enye Shi 5dd35576f6 Fix hip_vector_types.h for long long vectors
There was a missing long in the declaration for [u]longlongN types.
2018-10-03 13:57:52 -04:00
Evgeny Mankov deafaa4417 Merge pull request #699 from emankov/master
[HIPIFY] CUDA 10.0 Driver API initial support
2018-10-03 20:33:37 +03:00
Evgeny Mankov e3d7cc2885 [HIPIFY] CUDA 10.0 Driver API initial support 2018-10-03 20:29:22 +03:00
Rahul Garg 5a3d89e99c Corrected the width calculation logic to accomodate multi channels 2018-10-03 12:07:38 +05:30
Yaxun Sam Liu 43402d5602 Let hipcc add --hip-device-lib-path by default for hip-clang
hip-clang by default assumes -fno-gpu-rdc, therefore requires
--hip-device-lib-path by default.
2018-10-01 15:14:54 -04:00
Yaxun Sam Liu dcc85be374 Add HIPCC_COMPILE_FLAGS_APPEND 2018-10-01 14:51:29 -04:00
Rahul Garg 0b8fc1d66a Fixed image width for linear resource type texture 2018-10-01 15:28:34 +05:30
Evgeny Mankov b4bef98707 Merge pull request #695 from emankov/master
[HIPIFY][cmake] CUDA 10.0 is not supported.
2018-09-27 19:08:58 +03:00
Evgeny Mankov d0c683fcde [HIPIFY][cmake] CUDA 10.0 is not supported. 2018-09-27 19:05:22 +03:00
Wen-Heng (Jack) Chung dd56942335 Keep the map which tracks GPU kernel symbols to grow monotonically 2018-09-26 19:49:02 +00:00
Wen-Heng (Jack) Chung 35c542b70f Improve performance of re-initialization logic
Keep track of shared libaries already discovered. Do not build HSA executables
for them.
2018-09-26 19:48:56 +00:00
Wen-Heng (Jack) Chung dab1a0f9db HIP program state re-initialization logic
This commit is to support kernels dynamically loaded thru means such as
dlopen() after HIP runtime initializes.
2018-09-26 19:48:47 +00:00
Evgeny Mankov 9ac5ac08fd Merge pull request #691 from emankov/docs
[HIPIFY][docs] Fix typos in Readme.md
2018-09-26 17:27:18 +03:00
Evgeny Mankov c943885a65 [HIPIFY][docs] Fix typos in Readme.md 2018-09-26 17:26:25 +03:00
Evgeny Mankov 23448bbf9b Merge pull request #690 from emankov/hipBLAS
[HIPIFY][doc] Update README.md due to new LLVM 7.0.0 and CUDA 10.0 re…
2018-09-26 17:05:47 +03:00
Evgeny Mankov 221ef1db1f [HIPIFY][doc] Update README.md due to new LLVM 7.0.0 and CUDA 10.0 releases. 2018-09-26 17:01:59 +03:00
Maneesh Gupta e7529f14b6 Merge pull request #689 from gargrahul/hipmemset_ret_success_sizezero
Return hipSuccess when sizeBytes=0 in hipMemset
2018-09-26 13:57:44 +05:30
Rahul Garg 90f57d452a Return hipSuccess when sizeBytes=0 in hipMemset 2018-09-26 12:47:36 +05:30
Maneesh Gupta 5c665acf74 Merge pull request #685 from ROCm-Developer-Tools/hip-trig-return
Improve hip_trig test case
2018-09-26 09:50:48 +05:30
Aaron Enye Shi 77c07d4118 Use sinf and cosf from ocml device libs
Using llvm_amdgcn builtin fails to produce accurate values, we should move to using the ocml device library versions.
2018-09-25 19:31:39 +00:00
Aaron Enye Shi 5179a72cda Use trig functions from ocml instead 2018-09-25 15:58:36 +00:00