Gráfico de commits

3685 Commits

Autor SHA1 Mensaje Fecha
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
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
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
Michael Kuron bc455ccf50 Implement hipGetSymbolAddress and hipGetSymbolSize
[ROCm/hip commit: 73616582d6]
2018-11-04 10:39:34 +01:00
Alex Voicu 9cd4a9dbb1 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
[ROCm/hip commit: f28cde3f98]
2018-11-01 23:17:27 +00:00
Siu Chi Chan 1159b4aa05 Move the global arrays for hip malloc/free
from a header into a source file such that
there's only an unique copy in an executable
and prevent wasting static memory on the host

Change-Id: Id5b62766f77809c8d7b47892cb7149c490dcbdb9


[ROCm/hip commit: 0ff408a56c]
2018-11-01 16:20:35 -04:00
Evgeny Mankov 4dd080b3d0 [HIPIFY][doc] Update README.md
+ Split Linux and Windows sections
+ Rewrite Testing section


[ROCm/hip commit: 9f1666e37a]
2018-11-01 19:11:40 +03:00
Evgeny Mankov 883f902eaf [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


[ROCm/hip commit: eff5d3fc1b]
2018-11-01 16:57:57 +03:00
Jeff Daily c28043bc4f typedef struct hipFuncAttributes now C compatible.
Fixes #591.
Fixes #694.


[ROCm/hip commit: bb447dd76e]
2018-10-31 14:12:45 +05:30
Maneesh Gupta d17d335d6f Merge pull request #733 from ex-rzr/fix_array_alloc_size
Fix allocation size of arrays with multiple and/or non-32-bit channels

[ROCm/hip commit: 9199fe21dd]
2018-10-31 14:08:58 +05:30
Maneesh Gupta ac071f5390 Merge pull request #714 from aaronenyeshi/remove-static-hip-device
Remove libhip_device.a static library

[ROCm/hip commit: 0b86b421c1]
2018-10-31 14:08:29 +05:30
Maneesh Gupta 3986e47f8d Merge pull request #713 from scchan/master-hcc_early_finalize_support
Support more than one device code blobs in a single .kernel section

[ROCm/hip commit: 7f3e7b5334]
2018-10-31 14:04:06 +05:30
Alex Voicu 726b654c6d Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
[ROCm/hip commit: d035cb9000]
2018-10-30 23:34:46 +00:00
Alex Voicu d3beba42d3 If we've already seen a __global__ function we do not need to re-parse
[ROCm/hip commit: f7ba987038]
2018-10-30 23:34:27 +00:00
Rahul Garg d4815f4178 Fixes global symbols tracking in hip_module
[ROCm/hip commit: b270313129]
2018-10-31 03:22:38 +05:30
Evgeny Mankov 5e771d2c4f Merge pull request #741 from emankov/master
[HIPIFY][fix][#739] Fix garbage after replacements

[ROCm/hip commit: e17d24b46f]
2018-10-30 19:37:19 +03:00
Evgeny Mankov 96fefc34b4 [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.


[ROCm/hip commit: a8e6033aa3]
2018-10-30 19:35:59 +03:00
Evgeny Mankov d8c4c3f940 Merge pull request #740 from emankov/master
[HIPIFY][fix] Return back cudaDeviceProp's struct field warpSize to hipWarpSize mapping

[ROCm/hip commit: ce2a7b849f]
2018-10-30 15:55:17 +03:00
Evgeny Mankov e4d356fdae [HIPIFY][fix] Return back cudaDeviceProp's struct field warpSize to hipWarpSize mapping.
[ROCm/hip commit: 104be4b677]
2018-10-30 15:53:00 +03:00
Maneesh Gupta fd748a8dd1 Merge pull request #726 from ROCm-Developer-Tools/feature_minimal_changes_for_hc_next
hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.

[ROCm/hip commit: 2c99ef9aee]
2018-10-30 09:20:39 +05:30
Alex Voicu 2a69dd1fb6 Handle the very confusing dual encoding of the symbol name.
[ROCm/hip commit: bce3de8162]
2018-10-30 01:55:09 +00:00
Evgeny Mankov 7470b5b694 [HIPIFY] Modify HIP types to conform to CUDA's ones
[ROCm/hip commit: f83eabfa9e]
2018-10-29 20:51:25 +03:00
Alex Voicu 8a9d812ba4 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
[ROCm/hip commit: ded5ed86a2]
2018-10-29 15:41:44 +00:00
Evgeny Mankov 84b710d1c5 [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


[ROCm/hip commit: c5bfa09b04]
2018-10-29 17:13:00 +03:00
Anton Gorenko f2ce51bdf5 Fix allocation size of arrays with multiple and/or non-32-bit channels
hipMallocArray and hipMalloc3DArray must use sum of bits
of all components.


[ROCm/hip commit: 21f044eac8]
2018-10-29 18:12:00 +06:00
Alex Voicu c998b7dfc2 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata
[ROCm/hip commit: 185fa122ed]
2018-10-28 17:02:10 +00:00
Alex Voicu 6d64f5e112 Rely on code object metadat for kernarg arguments alignof and sizeof.
[ROCm/hip commit: fe1e963299]
2018-10-28 17:01:00 +00:00
Yaxun Sam Liu fa429022e1 Add HIP_DUMP_CODE_OBJECT
[ROCm/hip commit: f5d8842f6a]
2018-10-26 14:14:00 -04:00
Yaxun Sam Liu 3e91f67882 Adding checks and debug output for fat binary for hip-clang
[ROCm/hip commit: 062398c72f]
2018-10-26 14:13:12 -04:00
Evgeny Mankov 9a19da214d [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.


[ROCm/hip commit: 368e9d5100]
2018-10-26 15:01:58 +03:00
Aaron Enye Shi 5bbd632888 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 .


[ROCm/hip commit: 817b27d530]
2018-10-25 19:52:35 +00:00
Evgeny Mankov e3eb9bc2c5 [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


[ROCm/hip commit: 2c367bc8af]
2018-10-25 17:09:18 +03:00
Alex Voicu 147a6bab43 hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed.
[ROCm/hip commit: e4181b85be]
2018-10-25 13:32:17 +01:00