Revīziju grafs

6428 Revīzijas

Autors SHA1 Ziņojums Datums
Maneesh Gupta b4e4aafc16 Merge pull request #755 from gargrahul/fix_memcpy_symb_nonzerodev
Fixed hipMemcpyToSymbol doesn't work on GPU other than device 0
2018-11-14 13:22:22 +05:30
Maneesh Gupta 23f3e5d7d9 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.
2018-11-14 13:22:13 +05:30
foreman 26ce431eef P4 to Git Change 1706503 by skudchad@skudchad_test2_win_opencl on 2018/11/13 18:06:02
SWDEV-145570 - [HIP] Skip empty bundles

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/16140/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#20 edit
2018-11-13 18:10:36 -05:00
root 091124a766 rebase to master, tracer related changes 2018-11-13 15:50:34 +00:00
Evgeny 32c0008ef6 specialized spawner object 2018-11-13 15:33:26 +00:00
Evgeny e5ba097afd renaming HIP_INIT_CB_API to HIP_INIT_API 2018-11-13 15:33:26 +00:00
Evgeny 47f1d059d1 hip_prof_(api/str).h moving under hcc_detail dir 2018-11-13 15:33:26 +00:00
Evgeny cba2d42bbf adding lost i the merge change 2018-11-13 15:33:26 +00:00
Evgeny 5d6a6a5c6c compilation fix - struct name fix 2018-11-13 15:33:26 +00:00
Evgeny ec989ffd96 fix 2018-11-13 15:33:26 +00:00
Evgeny b8b1637ef7 adding activity prof layer 2018-11-13 15:33:26 +00:00
Rahul Garg 6b3cbc65ad Fixed symbol tracking device index 2018-11-13 07:01:17 +05:30
Yaxun Sam Liu bc40ddabe0 Fix sample bit_extract for hip-clang 2018-11-12 16:50:47 -05:00
Yaxun Sam Liu 17ac81b69e Define __hip_device_heap in header for hip-clang only 2018-11-12 16:39:41 -05:00
Rahul Garg 11e7ab8879 Fixed hipMemcpyToSymbol doesn't work on GPU other than device 0 SWDEV-166881 2018-11-13 00:49:20 +05:30
Alex Voicu 4ebc229b9a Missing handling nullary __global__ functions for mixed arity cases. 2018-11-12 01:51:59 +00:00
Alex Voicu c0bd1a5af8 Handle (odd) corner case of argumentless __global__ function. 2018-11-12 00:32:35 +00:00
Alex Voicu eddb783e9b Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata 2018-11-11 22:37:09 +00:00
Maneesh Gupta de54e92da2 Merge pull request #753 from yxsamliu/fatbin
Add more checks for fatbin
2018-11-09 06:26:43 +05:30
Maneesh Gupta 5da6e46c68 Merge pull request #752 from yxsamliu/fix-bundle
Let hipcc handle clang-offload-bundler file in obj format for hip-clang
2018-11-09 06:26:32 +05:30
Yaxun Sam Liu 3d51a1fb01 Let hipcc handle clang-offload-bundler file in obj format for hip-clang 2018-11-08 16:50:34 -05:00
Yaxun Sam Liu a31b6b78d5 Add more checks for fatbin 2018-11-08 16:46:01 -05:00
Alex Voicu aa6815cdc8 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata 2018-11-08 06:53:06 -08:00
Maneesh Gupta 0a1584b075 Merge pull request #730 from yxsamliu/dbg-fatbin
Add more checks and debug outputs for fat binary
2018-11-08 11:44:27 +05:30
Maneesh Gupta e672dc8a55 Merge pull request #721 from fronteer/my-fix
Make correct checking of the returned hipDeviceptr_t from read_global…
2018-11-08 11:42:08 +05:30
Maneesh Gupta 8d8d12f65d Merge pull request #742 from gargrahul/fix_module_global_tracking
Fixes global symbols tracking in hip_module
2018-11-08 11:41:35 +05:30
Maneesh Gupta 4862dcaf87 Merge pull request #750 from aaronenyeshi/remove-non-default-rounded-math
Remove non-default-rounded math apis
2018-11-08 11:40:03 +05:30
Aaron Enye Shi 0cfaa52d15 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.
2018-11-06 19:53:28 +00:00
Michael Kuron 6ebcc2922c Use correct trace macro in hipGetSymbolAddress/hipGetSymbolSize 2018-11-06 20:46:30 +01:00
Aaron Enye Shi e59c33250a Guard the OCML rounded operations instead
Instead of commenting all these functions out, guard the functions with a macro OCML_BASIC_ROUNDED_OPERATIONS.
2018-11-06 16:32:14 +00:00
Michael Kuron 509b29594a hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize 2018-11-06 12:02:21 +01:00
Michael Kuron 49cc703d7a Test for hipGetSymbolSize and hipGetSymbolAddress 2018-11-06 11:39:34 +01:00
Michael Kuron 31acf1c268 Introduce ihipModuleGetGlobal 2018-11-06 09:54:34 +01:00
Aaron Enye Shi 7223277aa3 Update hip-math-api doc to remove non-default-rounded 2018-11-05 22:54:55 +00:00
Aaron Enye Shi 2b108a2cfd 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.
2018-11-05 22:34:16 +00:00
Michael Kuron 4390c82121 Document return values of hipMemcpyToSymbol, hipGetSymbolAddress 2018-11-04 11:47:17 +01:00
Michael Kuron 73616582d6 Implement hipGetSymbolAddress and hipGetSymbolSize 2018-11-04 10:39:34 +01:00
Maneesh Gupta f033d82072 Merge pull request #747 from scchan/fix_hip_malloc_global_arrays
Move the global arrays for hip malloc/free
2018-11-02 11:32:11 +05:30
Alex Voicu f28cde3f98 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_get_alignment_and_size_from_metadata 2018-11-01 23:17:27 +00:00
Siu Chi Chan 0ff408a56c 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
2018-11-01 16:20:35 -04:00
Evgeny Mankov df2dd762c2 Merge pull request #746 from emankov/master
[HIPIFY][doc] Update README.md
2018-11-01 19:13:22 +03:00
Evgeny Mankov 9f1666e37a [HIPIFY][doc] Update README.md
+ Split Linux and Windows sections
+ Rewrite Testing section
2018-11-01 19:11:40 +03:00
Evgeny Mankov 63522c329b Merge pull request #745 from emankov/master
[HIPIFY][fix] Fix typo and functions' string arguments
2018-11-01 17:03:01 +03:00
Evgeny Mankov eff5d3fc1b [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
2018-11-01 16:57:57 +03:00
Maneesh Gupta 1c093592fa Merge pull request #744 from mangupta/hipfuncattrib
typedef struct hipFuncAttributes now C compatible.
2018-10-31 16:25:25 +05:30
Jenkins cf79a3ef49 Merge 'master' into 'amd-master'
Change-Id: I8610d76ff9fd7ab50adb518ec8743603a85679d2
2018-10-31 04:09:37 -05:00
Jeff Daily bb447dd76e typedef struct hipFuncAttributes now C compatible.
Fixes #591.
Fixes #694.
2018-10-31 14:12:45 +05:30
Maneesh Gupta 9199fe21dd Merge pull request #733 from ex-rzr/fix_array_alloc_size
Fix allocation size of arrays with multiple and/or non-32-bit channels
2018-10-31 14:08:58 +05:30
Maneesh Gupta 0b86b421c1 Merge pull request #714 from aaronenyeshi/remove-static-hip-device
Remove libhip_device.a static library
2018-10-31 14:08:29 +05:30
Maneesh Gupta 7f3e7b5334 Merge pull request #713 from scchan/master-hcc_early_finalize_support
Support more than one device code blobs in a single .kernel section
2018-10-31 14:04:06 +05:30