Commit Graph

4136 Commits

Author SHA1 Message Date
Evgeny Mankov 81b7cb465d Merge pull request #769 from emankov/master
[HIPIFY][SPARSE] Initial support

[ROCm/hip commit: 238b38db9b]
2018-11-20 18:00:32 +03:00
emankov f5f06217a8 [HIPIFY][SPARSE] Initial support
[ROCm/hip commit: 30c387a811]
2018-11-20 17:58:05 +03:00
Michael Kuron c35dfb71d5 Merge branch 'master' into getsymboladdress
[ROCm/hip commit: 8610128c3e]
2018-11-20 12:03:22 +01:00
Maneesh Gupta 20fff19daa Merge pull request #765 from mangupta/jenkins-renable-alltests
[ci] Renable excluded tests

[ROCm/hip commit: d4f1d15f8d]
2018-11-20 11:56:50 +05:30
Evgeny Mankov 5cbf1fcf58 Merge pull request #767 from emankov/master
[HIPIFY] Move Complex API types and functions to separate files

[ROCm/hip commit: 8f197f9072]
2018-11-19 21:07:03 +03:00
Evgeny Mankov 223ab79e90 [HIPIFY] Move Complex API types and functions to separate files
[ROCm/hip commit: 8aefe12b8e]
2018-11-19 21:04:47 +03:00
Evgeny Mankov a36bb84a81 Merge pull request #766 from emankov/master
[HIPIFY] CUDA Driver API functions total revise (up to CUDA 10.0)

[ROCm/hip commit: 99e3f376ee]
2018-11-19 20:02:20 +03:00
Evgeny Mankov b55426217c [HIPIFY] CUDA Driver API functions total revise (up to CUDA 10.0)
+ 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: cfabad4354]
2018-11-19 20:00:05 +03:00
Maneesh Gupta 9d6832e170 [ci] Renable excluded tests
Regressions caused by dependent components have been fixed or workaround
put in place.

Change-Id: I9ecaf0a4a645d9222f12d2c45291f2b23984b72b


[ROCm/hip commit: 884a5f1ca7]
2018-11-19 14:31:48 +05:30
Rahul Garg 89efed29d7 Fix hipHostRegister
[ROCm/hip commit: 1a038879a9]
2018-11-17 05:38:35 +05:30
Evgeny Mankov 532737d329 Merge pull request #762 from emankov/master
[HIPIFY][LLVMCompat] Support of upcoming LLVM 8.0

[ROCm/hip commit: 32767e92bc]
2018-11-16 14:53:30 +03:00
Evgeny Mankov 517ba1c4c1 [HIPIFY][LLVMCompat] support of upcoming LLVM 8.0
+ StringRef issue, which is finally moved to LLVM from Clang
+ Renamed getBeginLoc() and getEndLoc() resolution for Expr and TypeLoc classes
+ Support all the previous LLVM versions via LLVCompat


[ROCm/hip commit: aad5858cb1]
2018-11-16 01:23:25 +03:00
Michael Kuron 2e8a94e90b Fix hipGetSymbolAddress/hipGetSymbolSize on nvcc
[ROCm/hip commit: 999b62b711]
2018-11-15 09:48:00 +01:00
Maneesh Gupta ee6e3d56c4 Merge pull request #758 from yxsamliu/fix-sample-module
Fix sample bit_extract for hip-clang

[ROCm/hip commit: 3a55519d6e]
2018-11-14 13:22:45 +05:30
Maneesh Gupta bc85e694c5 Merge pull request #756 from yxsamliu/fix-heap
Define __hip_device_heap in header for hip-clang only

[ROCm/hip commit: 0770c2b8da]
2018-11-14 13:22:31 +05:30
Maneesh Gupta 700a8183f8 Merge pull request #755 from gargrahul/fix_memcpy_symb_nonzerodev
Fixed hipMemcpyToSymbol doesn't work on GPU other than device 0

[ROCm/hip commit: b4e4aafc16]
2018-11-14 13:22:22 +05:30
Maneesh Gupta 6c0e4d191a Merge pull request #731 from ROCm-Developer-Tools/feature_get_alignment_and_size_from_metadata
Rely on code object metadata for kernarg arguments alignof and sizeof.

[ROCm/hip commit: 23f3e5d7d9]
2018-11-14 13:22:13 +05:30
root dbc30b7800 rebase to master, tracer related changes
[ROCm/hip commit: 091124a766]
2018-11-13 15:50:34 +00:00
Evgeny 74488844fb specialized spawner object
[ROCm/hip commit: 32c0008ef6]
2018-11-13 15:33:26 +00:00
Evgeny 73e3c4ec42 renaming HIP_INIT_CB_API to HIP_INIT_API
[ROCm/hip commit: e5ba097afd]
2018-11-13 15:33:26 +00:00
Evgeny 7f6832cbe5 hip_prof_(api/str).h moving under hcc_detail dir
[ROCm/hip commit: 47f1d059d1]
2018-11-13 15:33:26 +00:00
Evgeny c6dbcf8d48 adding lost i the merge change
[ROCm/hip commit: cba2d42bbf]
2018-11-13 15:33:26 +00:00
Evgeny db784eff1d compilation fix - struct name fix
[ROCm/hip commit: 5d6a6a5c6c]
2018-11-13 15:33:26 +00:00
Evgeny 0349de4f51 fix
[ROCm/hip commit: ec989ffd96]
2018-11-13 15:33:26 +00:00
Evgeny 0a58dc9b7b adding activity prof layer
[ROCm/hip commit: b8b1637ef7]
2018-11-13 15:33:26 +00:00
Rahul Garg 30c4fd3875 Fixed symbol tracking device index
[ROCm/hip commit: 6b3cbc65ad]
2018-11-13 07:01:17 +05:30
Yaxun Sam Liu 69080f3cb4 Fix sample bit_extract for hip-clang
[ROCm/hip commit: bc40ddabe0]
2018-11-12 16:50:47 -05:00
Yaxun Sam Liu a30829a7bf Define __hip_device_heap in header for hip-clang only
[ROCm/hip commit: 17ac81b69e]
2018-11-12 16:39:41 -05:00
Rahul Garg ecea878072 Fixed hipMemcpyToSymbol doesn't work on GPU other than device 0 SWDEV-166881
[ROCm/hip commit: 11e7ab8879]
2018-11-13 00:49:20 +05:30
Alex Voicu 51c47fcc2e Missing handling nullary __global__ functions for mixed arity cases.
[ROCm/hip commit: 4ebc229b9a]
2018-11-12 01:51:59 +00:00
Alex Voicu 591d4d1b5f Handle (odd) corner case of argumentless __global__ function.
[ROCm/hip commit: c0bd1a5af8]
2018-11-12 00:32:35 +00:00
Alex Voicu 9698438260 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
[ROCm/hip commit: eddb783e9b]
2018-11-11 22:37:09 +00:00
Maneesh Gupta c7e403e4d4 Merge pull request #753 from yxsamliu/fatbin
Add more checks for fatbin

[ROCm/hip commit: de54e92da2]
2018-11-09 06:26:43 +05:30
Maneesh Gupta 87c920b6be Merge pull request #752 from yxsamliu/fix-bundle
Let hipcc handle clang-offload-bundler file in obj format for hip-clang

[ROCm/hip commit: 5da6e46c68]
2018-11-09 06:26:32 +05:30
Yaxun Sam Liu a7f7a01513 Let hipcc handle clang-offload-bundler file in obj format for hip-clang
[ROCm/hip commit: 3d51a1fb01]
2018-11-08 16:50:34 -05:00
Yaxun Sam Liu aaf12143ae Add more checks for fatbin
[ROCm/hip commit: a31b6b78d5]
2018-11-08 16:46:01 -05:00
Alex Voicu 9e2269c8db Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
[ROCm/hip commit: aa6815cdc8]
2018-11-08 06:53:06 -08:00
Maneesh Gupta 774be2f94f Merge pull request #730 from yxsamliu/dbg-fatbin
Add more checks and debug outputs for fat binary

[ROCm/hip commit: 0a1584b075]
2018-11-08 11:44:27 +05:30
Maneesh Gupta e599773b9a Merge pull request #721 from fronteer/my-fix
Make correct checking of the returned hipDeviceptr_t from read_global…

[ROCm/hip commit: e672dc8a55]
2018-11-08 11:42:08 +05:30
Maneesh Gupta 79861d3eeb Merge pull request #742 from gargrahul/fix_module_global_tracking
Fixes global symbols tracking in hip_module

[ROCm/hip commit: 8d8d12f65d]
2018-11-08 11:41:35 +05:30
Maneesh Gupta bd46fd037d Merge pull request #750 from aaronenyeshi/remove-non-default-rounded-math
Remove non-default-rounded math apis

[ROCm/hip commit: 4862dcaf87]
2018-11-08 11:40:03 +05:30
Aaron Enye Shi 8bf2429663 Guard rcp rounded implementation as well
Since rcp implementations of non-default rounded versions are not correct or supported in OCML, guard them using the same macro OCML_BASIC_ROUNDED_OPERATIONS. Also update the docs and tests.


[ROCm/hip commit: 0cfaa52d15]
2018-11-06 19:53:28 +00:00
Michael Kuron f69866eecc Use correct trace macro in hipGetSymbolAddress/hipGetSymbolSize
[ROCm/hip commit: 6ebcc2922c]
2018-11-06 20:46:30 +01:00
Aaron Enye Shi eb4053e3fe Guard the OCML rounded operations instead
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.


[ROCm/hip commit: e59c33250a]
2018-11-06 16:32:14 +00:00
Michael Kuron d30c49f6cc hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize
[ROCm/hip commit: 509b29594a]
2018-11-06 12:02:21 +01:00
Michael Kuron b23b30d373 Test for hipGetSymbolSize and hipGetSymbolAddress
[ROCm/hip commit: 49cc703d7a]
2018-11-06 11:39:34 +01:00
Michael Kuron cbba8221ee Introduce ihipModuleGetGlobal
[ROCm/hip commit: 31acf1c268]
2018-11-06 09:54:34 +01:00
Aaron Enye Shi 914506055e Update hip-math-api doc to remove non-default-rounded
[ROCm/hip commit: 7223277aa3]
2018-11-05 22:54:55 +00:00
Aaron Enye Shi 1c6f47ef55 Remove non-working non-default-rounded math apis
In ROCm-Device-Libs, they have dropped the non-default-rounded versions of add, sub, mul, div, sqrt and fma. Therefore, ocml has removed the rte, rtp, rtn, and rtz counterparts. This will remove the same math APIs in HIP for _ru, _rd, _rn, and _rz.


[ROCm/hip commit: 2b108a2cfd]
2018-11-05 22:34:16 +00:00
Michael Kuron da5df1fd1e Document return values of hipMemcpyToSymbol, hipGetSymbolAddress
[ROCm/hip commit: 4390c82121]
2018-11-04 11:47:17 +01:00