Graf commitů

4607 Commity

Autor SHA1 Zpráva Datum
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
Maneesh Gupta 5333a22ccc Merge pull request #723 from mangupta/fix_double_shfl
Fix logic for double variants of __shfl*

[ROCm/hip commit: f6f160fa6b]
2018-10-25 06:01:38 +05:30
Maneesh Gupta b93c5fcd48 Merge pull request #720 from mangupta/make_rocm19_usable_again
Make HIP functional again with HCC from ROCm 1.9.x

[ROCm/hip commit: 7e5b2dc91b]
2018-10-25 06:01:27 +05:30
Maneesh Gupta cc9316ccfb Merge pull request #716 from yxsamliu/gfx906
Let hipcc handle gfx906 for hip-clang

[ROCm/hip commit: c47c54cab9]
2018-10-25 06:01:16 +05:30
foreman 1f2ac6e17e P4 to Git Change 1623601 by skudchad@skudchad_test2_win_opencl on 2018/10/24 17:52:57
SWDEV-145570 - [HIP] Refactor hipStreamAddCallback

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#15 edit


[ROCm/hip commit: 6f0ef8f628]
2018-10-24 18:00:42 -04:00
Maneesh Gupta dd8ebc9a97 Fix logic for double variants of __shfl*
Change-Id: I604f00b54cf4bd9c5f26ca6fa680fca5e9629417


[ROCm/hip commit: 19404e603d]
2018-10-24 12:39:09 +05:30
Maneesh Gupta 90d15c13a1 Make HIP functional again with HCC from ROCm 1.9.x
Change-Id: I214acdfd0b79dcf783993e44fe31baee64fd4dc3


[ROCm/hip commit: 0703a2d0f0]
2018-10-24 10:41:56 +05:30
Qianfeng Zhang e9daf7624b Make correct checking of the returned hipDeviceptr_t from read_global_description()
[ROCm/hip commit: de5f47a984]
2018-10-23 21:13:11 +08:00
Evgeny Mankov 0fef14487c [HIPIFY] Split CUDA2HIP map into a number of maps based on API type
[Reasons]
+ Simplify the support
+ Optimize compilation and code generation time

[Additionally]
+ Update minimum required version of cmake
+ Fix MSVC compile options force update


[ROCm/hip commit: 5d1255272b]
2018-10-23 00:00:10 +03:00
Yaxun Sam Liu a5aa02c723 Let hipcc handle gfx906 for hip-clang
[ROCm/hip commit: 283fb42604]
2018-10-21 10:04:30 -04:00
Maneesh Gupta a648f1c48e Merge pull request #705 from ROCm-Developer-Tools/feature_minimal_changes_for_hc_next
Feature minimal changes for hc next

[ROCm/hip commit: 4a00b244a3]
2018-10-19 06:58:31 +05:30
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
foreman 4c46686cd7 P4 to Git Change 1620765 by skudchad@skudchad_test2_win_opencl on 2018/10/17 16:58:04
SWDEV-145570 - [HIP] Track last used event and use last enqueued command in a stream rather than creating a new event

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#20 edit


[ROCm/hip commit: 133447a412]
2018-10-18 13:41:32 -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
Alex Voicu b8b15ce792 Dumb workaround is still needed, so add it back.
[ROCm/hip commit: 5ccaf2fa7d]
2018-10-18 15:33:46 +01:00
Alex Voicu 31363b4707 Guard new includes.
[ROCm/hip commit: e66a75ea55]
2018-10-18 12:29:27 +01:00
Alex Voicu de15c6988d Re-sync with upstream.
[ROCm/hip commit: fe959f7bd7]
2018-10-18 12:27:03 +01: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