Commit Graph

2976 Commits

Author SHA1 Message Date
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
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
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
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
Maneesh Gupta bb3706b6f6 Merge pull request #703 from mangupta/stream_create_with_priority
Implementation for stream priority

[ROCm/clr commit: 95be669f4a]
2018-10-17 10:53:43 +05:30
Maneesh Gupta 62e4c224c7 Merge pull request #702 from aaronenyeshi/fix-missing-irif-lib
Replace IRIF fences with atomic_work_item_fence

[ROCm/clr commit: 3485d86746]
2018-10-17 10:53:27 +05:30
Maneesh Gupta a818af7073 Merge pull request #698 from yxsamliu/compile-flags
Add HIPCC_COMPILE_FLAGS_APPEND

[ROCm/clr commit: 6a4aaed7f3]
2018-10-17 10:53:17 +05:30
Maneesh Gupta dea3d05758 Merge pull request #696 from gargrahul/fix_texrestypelin_size
Fixed image width for linear resource type texture

[ROCm/clr commit: 5ca415a172]
2018-10-17 06:11:23 +05:30
Maneesh Gupta 08bff3e3d7 Merge pull request #708 from mangupta/swdev-125523
Add missing hipHostRegister flags on nvcc path

[ROCm/clr commit: ae4e24dc21]
2018-10-17 06:10:25 +05:30
Evgeny Mankov 677ca14f8b Merge pull request #709 from emankov/master
[HIPIFY] Code cleanup and formatting

[ROCm/clr commit: 3f4f090fd9]
2018-10-15 15:37:38 +03:00
Evgeny Mankov a533379e12 [HIPIFY] Code cleanup and formatting
[ROCm/clr commit: 9a1a511c84]
2018-10-15 15:27:37 +03:00
Maneesh Gupta 8175561a42 Add missing hipHostRegister flags on nvcc path
Change-Id: I69f09204d9c544935104d4168ab8d3626666a623


[ROCm/clr commit: d71006eb99]
2018-10-15 15:30:24 +05:30
Maneesh Gupta c4ed6b18fb Implementation for stream priority
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged

Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca


[ROCm/clr commit: 07ee1f07d8]
2018-10-05 16:27:46 +05:30
Aaron Enye Shi 1835636df3 Replace IRIF fences with atomic_work_item_fence
[ROCm/clr commit: 03822afaa9]
2018-10-04 21:47:28 +00:00
Maneesh Gupta 09ff91c564 Merge pull request #697 from yxsamliu/dev-lib-path
Let hipcc add --hip-device-lib-path by default for hip-clang

[ROCm/clr commit: e7d3f3860e]
2018-10-04 07:40:37 +05:30
Maneesh Gupta 023f8071d0 Merge pull request #700 from ROCm-Developer-Tools/fix-long-long-decl
Fix hip_vector_types.h for long long vectors

[ROCm/clr commit: ed51044502]
2018-10-04 07:39:30 +05:30
Aaron Enye Shi 766ce1b4ff Fix hip_vector_types.h for long long vectors
There was a missing long in the declaration for [u]longlongN types.

[ROCm/clr commit: 6a71cf17a1]
2018-10-03 13:57:52 -04:00
Evgeny Mankov f34f37f539 Merge pull request #699 from emankov/master
[HIPIFY] CUDA 10.0 Driver API initial support

[ROCm/clr commit: bde7c600c4]
2018-10-03 20:33:37 +03:00
Evgeny Mankov a89c112545 [HIPIFY] CUDA 10.0 Driver API initial support
[ROCm/clr commit: cb4eb94174]
2018-10-03 20:29:22 +03:00
Rahul Garg ed5c4bca1d Corrected the width calculation logic to accomodate multi channels
[ROCm/clr commit: a78d68d639]
2018-10-03 12:07:38 +05:30
Yaxun Sam Liu fbc0c4bb66 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.


[ROCm/clr commit: 88768895bc]
2018-10-01 15:14:54 -04:00
Yaxun Sam Liu cb971f0a48 Add HIPCC_COMPILE_FLAGS_APPEND
[ROCm/clr commit: 2c361906fa]
2018-10-01 14:51:29 -04:00
Rahul Garg 8981438983 Fixed image width for linear resource type texture
[ROCm/clr commit: 167265c279]
2018-10-01 15:28:34 +05:30
Evgeny Mankov ec3a6c3f91 Merge pull request #695 from emankov/master
[HIPIFY][cmake] CUDA 10.0 is not supported.

[ROCm/clr commit: 28e5a5ced7]
2018-09-27 19:08:58 +03:00
Evgeny Mankov 821b36d636 [HIPIFY][cmake] CUDA 10.0 is not supported.
[ROCm/clr commit: 4e7b330037]
2018-09-27 19:05:22 +03:00
Wen-Heng (Jack) Chung 73fc21f717 Keep the map which tracks GPU kernel symbols to grow monotonically
[ROCm/clr commit: e257de95f3]
2018-09-26 19:49:02 +00:00
Wen-Heng (Jack) Chung 1e956fcd70 Improve performance of re-initialization logic
Keep track of shared libaries already discovered. Do not build HSA executables
for them.


[ROCm/clr commit: 060b3c0bf8]
2018-09-26 19:48:56 +00:00
Wen-Heng (Jack) Chung 4e0f0b3e89 HIP program state re-initialization logic
This commit is to support kernels dynamically loaded thru means such as
dlopen() after HIP runtime initializes.


[ROCm/clr commit: 319f007bf1]
2018-09-26 19:48:47 +00:00
Evgeny Mankov 4746b1872b Merge pull request #691 from emankov/docs
[HIPIFY][docs] Fix typos in Readme.md

[ROCm/clr commit: c778463625]
2018-09-26 17:27:18 +03:00
Evgeny Mankov e9acd2671d [HIPIFY][docs] Fix typos in Readme.md
[ROCm/clr commit: 6056686796]
2018-09-26 17:26:25 +03:00
Evgeny Mankov a4c3741ec7 Merge pull request #690 from emankov/hipBLAS
[HIPIFY][doc] Update README.md due to new LLVM 7.0.0 and CUDA 10.0 re…

[ROCm/clr commit: e879118d87]
2018-09-26 17:05:47 +03:00
Evgeny Mankov 298ca9b3cd [HIPIFY][doc] Update README.md due to new LLVM 7.0.0 and CUDA 10.0 releases.
[ROCm/clr commit: a7e75c72ee]
2018-09-26 17:01:59 +03:00
Maneesh Gupta 1a59703cdb Merge pull request #689 from gargrahul/hipmemset_ret_success_sizezero
Return hipSuccess when sizeBytes=0 in hipMemset

[ROCm/clr commit: 5bd2219f9d]
2018-09-26 13:57:44 +05:30
Rahul Garg e0efc8a09e Return hipSuccess when sizeBytes=0 in hipMemset
[ROCm/clr commit: bd27310127]
2018-09-26 12:47:36 +05:30
Maneesh Gupta 27986e6788 Merge pull request #685 from ROCm-Developer-Tools/hip-trig-return
Improve hip_trig test case

[ROCm/clr commit: 802520f5f1]
2018-09-26 09:50:48 +05:30
Aaron Enye Shi 4d59fbbcbe 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.


[ROCm/clr commit: eeb6c11050]
2018-09-25 19:31:39 +00:00
Aaron Enye Shi 20e9391cfb Use trig functions from ocml instead
[ROCm/clr commit: 04ed44f074]
2018-09-25 15:58:36 +00:00