Commit Graph

2764 Commits

Author SHA1 Message Date
Siu Chi Chan 7ce37f3a08 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/hip commit: 30ce25e627]
2018-10-18 17:00:27 -04:00
Evgeny Mankov c20c22ca21 [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/hip commit: 520e795a8d]
2018-10-18 18:50:24 +03:00
Maneesh Gupta 0dff12a615 Merge pull request #688 from aaronenyeshi/fix-sinf-cosf-ocml
Use sinf and cosf from ocml device libs

[ROCm/hip commit: 1a5025c57e]
2018-10-18 16:39:20 +05:30
Maneesh Gupta 1a8b4ce037 Merge pull request #692 from whchung/hip-reinit-take2
HIP program state re-initialization logic (take 2)

[ROCm/hip commit: d133493669]
2018-10-18 12:06:41 +05:30
Maneesh Gupta 8a305d8e30 Merge pull request #711 from nicholasmalaya/patch-1
Updates to HIP porting guide 

[ROCm/hip commit: 0b1333255f]
2018-10-18 12:06:31 +05:30
Nicholas Malaya 45be6e01d3 Update hip_porting_guide.md
[ROCm/hip commit: 26e9489287]
2018-10-17 14:27:11 -05:00
Nicholas Malaya ebcc1919cd Fixing link
[ROCm/hip commit: 62c57a65bd]
2018-10-17 14:26:49 -05:00
Nicholas Malaya 97e7234a47 Fixing a link
[ROCm/hip commit: 29db8e9678]
2018-10-17 14:25:54 -05:00
Nicholas Malaya f73bac6908 Adding library equivalent section
[ROCm/hip commit: 32c122eae5]
2018-10-17 14:25:07 -05:00
Nicholas Malaya d78e52fa0c Small editing changes to clean up document
[ROCm/hip commit: b1b9366656]
2018-10-17 14:11:25 -05:00
Nicholas Malaya 87580d3090 Fixing a broken indentation
Minor (cosmetic) edit to make items appear in ordered bulleted list

[ROCm/hip commit: 2ef15fd5b6]
2018-10-17 13:56:51 -05:00
Nicholas Malaya d7c59e2992 Update hip_porting_guide.md
Adding hyperlink to bin/hipconvertinplace.sh

[ROCm/hip commit: d9e03872ab]
2018-10-17 13:49:47 -05:00
Maneesh Gupta c4a93adb74 Replace hipLaunchKernel -> hipLaunchKernelGGL
Change-Id: I4d99009e1199811d417becf1e1b934ec4d4e30be


[ROCm/hip commit: 52e320f396]
2018-10-17 14:32:25 +05:30
Maneesh Gupta c6905e9e6b Fix typos in Jenkinsfile
[ROCm/hip commit: c9e4ed1149]
2018-10-17 11:13:37 +05:30
Maneesh Gupta 68ba937cf7 Update Jenkinsfile
Disable rocm-1.9x testing in CI due to incompatible changes with HCC from ROCm 1.9.x

[ROCm/hip commit: f5356fa9ec]
2018-10-17 11:03:43 +05:30
Maneesh Gupta 63e6cd228b Merge pull request #703 from mangupta/stream_create_with_priority
Implementation for stream priority

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

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

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

[ROCm/hip commit: 7ea27d05bc]
2018-10-17 06:11:23 +05:30
Maneesh Gupta 240bf09a95 Merge pull request #708 from mangupta/swdev-125523
Add missing hipHostRegister flags on nvcc path

[ROCm/hip commit: 797d151444]
2018-10-17 06:10:25 +05:30
Evgeny Mankov 5b192ed119 [HIPIFY] Code cleanup and formatting
[ROCm/hip commit: ee3a5cc722]
2018-10-15 15:27:37 +03:00
Maneesh Gupta 83e56b2ed4 Add missing hipHostRegister flags on nvcc path
Change-Id: I69f09204d9c544935104d4168ab8d3626666a623


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

Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca


[ROCm/hip commit: da64156fb2]
2018-10-05 16:27:46 +05:30
Aaron Enye Shi 188df279a9 Replace IRIF fences with atomic_work_item_fence
[ROCm/hip commit: 0787f74ac2]
2018-10-04 21:47:28 +00:00
Maneesh Gupta ce454b49d6 Merge pull request #697 from yxsamliu/dev-lib-path
Let hipcc add --hip-device-lib-path by default for hip-clang

[ROCm/hip commit: 4ab45ef878]
2018-10-04 07:40:37 +05:30
Aaron Enye Shi ff1c7e9d27 Fix hip_vector_types.h for long long vectors
There was a missing long in the declaration for [u]longlongN types.

[ROCm/hip commit: 5dd35576f6]
2018-10-03 13:57:52 -04:00
Evgeny Mankov a7a959093b [HIPIFY] CUDA 10.0 Driver API initial support
[ROCm/hip commit: e3d7cc2885]
2018-10-03 20:29:22 +03:00
Rahul Garg 8401146cd6 Corrected the width calculation logic to accomodate multi channels
[ROCm/hip commit: 5a3d89e99c]
2018-10-03 12:07:38 +05:30
Yaxun Sam Liu a71be7ff2d 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/hip commit: 43402d5602]
2018-10-01 15:14:54 -04:00
Yaxun Sam Liu f201230ad3 Add HIPCC_COMPILE_FLAGS_APPEND
[ROCm/hip commit: dcc85be374]
2018-10-01 14:51:29 -04:00
Rahul Garg 5a48bc2168 Fixed image width for linear resource type texture
[ROCm/hip commit: 0b8fc1d66a]
2018-10-01 15:28:34 +05:30
Evgeny Mankov bdd0d785fd [HIPIFY][cmake] CUDA 10.0 is not supported.
[ROCm/hip commit: d0c683fcde]
2018-09-27 19:05:22 +03:00
Wen-Heng (Jack) Chung 63a075fc96 Keep the map which tracks GPU kernel symbols to grow monotonically
[ROCm/hip commit: dd56942335]
2018-09-26 19:49:02 +00:00
Wen-Heng (Jack) Chung 70dd826abf Improve performance of re-initialization logic
Keep track of shared libaries already discovered. Do not build HSA executables
for them.


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


[ROCm/hip commit: dab1a0f9db]
2018-09-26 19:48:47 +00:00
Evgeny Mankov 7a6684d9e1 [HIPIFY][docs] Fix typos in Readme.md
[ROCm/hip commit: c943885a65]
2018-09-26 17:26:25 +03:00
Evgeny Mankov ed68d1c931 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/hip commit: 23448bbf9b]
2018-09-26 17:05:47 +03:00
Evgeny Mankov b1d9cff60a [HIPIFY][doc] Update README.md due to new LLVM 7.0.0 and CUDA 10.0 releases.
[ROCm/hip commit: 221ef1db1f]
2018-09-26 17:01:59 +03:00
Rahul Garg 6d53af5a60 Return hipSuccess when sizeBytes=0 in hipMemset
[ROCm/hip commit: 90f57d452a]
2018-09-26 12:47:36 +05:30
Maneesh Gupta 502fda5308 Merge pull request #685 from ROCm-Developer-Tools/hip-trig-return
Improve hip_trig test case

[ROCm/hip commit: 5c665acf74]
2018-09-26 09:50:48 +05:30
Aaron Enye Shi 19d76382d6 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/hip commit: 77c07d4118]
2018-09-25 19:31:39 +00:00
Aaron Enye Shi 93a84365ab Use trig functions from ocml instead
[ROCm/hip commit: 5179a72cda]
2018-09-25 15:58:36 +00:00
Evgeny Mankov 9ff79bfeb7 Merge pull request #687 from emankov/hipBLAS
[HIPIFY][BLAS] Add support of hipblasGemmEx and corresponding types

[ROCm/hip commit: 3a1157653f]
2018-09-25 18:48:06 +03:00
Evgeny Mankov e47c0c0a9e [HIPIFY][BLAS] Add support of hipblasGemmEx and corresponding types
TODO (hipBLAS/HIP): rename hipblasDatatype_t to hipDataType_t and move it from hipBLAS to HIP, as Data types are used not only in BLAS library.


[ROCm/hip commit: d279c7a1dd]
2018-09-25 18:46:23 +03:00
Evgeny Mankov 9ed4fbc85a [HIPIFY][docs] Update CUDNN_API_supported_by_HIP.md
[ROCm/hip commit: 4e06ab07e2]
2018-09-25 16:50:40 +03:00
Aaron Enye Shi 9762215e54 Fix missing HIP_ASSERT in hip_trig
[ROCm/hip commit: 3d3820272a]
2018-09-24 15:01:24 +00:00
Maneesh Gupta a7c2d2ab08 Merge pull request #683 from ROCm-Developer-Tools/hip-float-rounded
Disable non-default-rounded functions

[ROCm/hip commit: ca6b916d15]
2018-09-24 09:32:52 +05:30
Aaron Enye Shi 8408bc5536 Improve hip_trig test case
Hip_trig is failing but returning a passing value on HIP-Clang.  Also update with debug output and free arrays used.

[ROCm/hip commit: 357b6844fa]
2018-09-21 15:28:10 -04:00
Maneesh Gupta 780b0f38b8 Merge pull request #684 from ROCm-Developer-Tools/mangupta-patch-2
[ci] Renable nvcc testing

[ROCm/hip commit: 0e3ba5a47d]
2018-09-21 11:05:45 +05:30
Maneesh Gupta d98ef3cc48 Update hipTestFMA.cpp
[ROCm/hip commit: 255589ae15]
2018-09-21 11:00:08 +05:30