커밋 그래프

477 커밋

작성자 SHA1 메시지 날짜
Julia Jiang ef396373ec SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048


[ROCm/hip commit: 090b2829b9]
2021-02-08 13:17:46 -05:00
Aaron En Ye Shi f88ea1299e SWDEV-263964 - Fix hipcc --hip-device-lib-path
On Windows, there may be spaces in the directory
location. Therefore, must add quotes when adding
this path with a location in C:/Program Files/.

Change-Id: I63642093092e25a2f6ed73b55a7afd16835ac736


[ROCm/hip commit: af6cc3c45f]
2021-02-03 19:41:35 +00:00
Aaron En Ye Shi 7dd6fcd1ae SWDEV-263964 - Fix hipconfig to work on Windows
Modify hipconfig and hipcc to properly run Windows compiler
executables. Support Windows Environmental Variables and
AMD Display Adapter info. Update flags to include quotes for
paths that have spaces, such as Program Files.

Change-Id: Ib721b318bd88be7dfa1247a30ce78c7ed6a334e8


[ROCm/hip commit: 9e47efe0e6]
2021-01-25 12:53:03 -05:00
David Salinas 7f580a29b0 remove extractkernel
Change-Id: I46a380059fa336aa7553669629a21e8aa7717e7b


[ROCm/hip commit: 5f96929cf6]
2021-01-15 11:34:32 -08:00
David Salinas e7073fc17c add new code object tooling: roc-obj-ls and roc-obj-extract
SWDEV-229776

Change-Id: Icb11c4552515d3eff3bcf303c4a470ab90d1dd58


[ROCm/hip commit: cb859b7263]
2021-01-14 14:45:46 -05:00
Tao Sang 118c6ba23e Fix building mathlibs failure
Add back
__HIP_PLATFORM_HCC__
__HIP_PLATFORM_NVCC__

Change-Id: I1ae48678eafd849d6c25bcb204c1724b026be22f


[ROCm/hip commit: 59ef7dc9e2]
2021-01-14 14:03:15 -05:00
Icarus Sparry d234e6a9a1 Allow for /usr/bin/hipcc to be a symlink
SWDEV-267206

If /usr/bin/hipcc is a symlink then resolve it first, and then find
the resulting directory rather than resolving /usr/bin.

Change-Id: I380728ffa05ed813cc793a1d6488aaae81ddbda8


[ROCm/hip commit: 24c8e5a348]
2021-01-11 00:50:20 -05:00
Tao Sang 2820f91c90 Remove hip-hcc codes: Part four
Remove __HCC__, __HCC_ONLY__, __HCC_CPP__, __HCC_C__,
__HCC_OR_HIP_CLANG__, __HIP_ROCclr__ and their guarded codes.

Remove Hcc codes from directed_tests and samples.

Remove __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__ from
some files where they are not necessary.

Add deprecation notice.

Change-Id: I1ae467eafd749d6c25bca204c1724b026be21fce


[ROCm/hip commit: b34dd95124]
2021-01-08 10:53:34 -05:00
Tao Sang c618b6aeff Remove hip-hcc codes: Part three
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/

2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/

3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__

4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__

After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.

Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce


[ROCm/hip commit: c2adc70d4d]
2021-01-05 10:39:31 -05:00
agodavar e0368a2fba SWDEV-239065 Refactor hipcc, added new perl module hipvars
Change-Id: I2b71ceb2563501c7b2861cd0f2e23d01207b1bc2


[ROCm/hip commit: 547473126e]
2020-12-31 05:41:36 -05:00
agodavar b2af7b1be4 SWDEV-265171 Remove hcc compiler support from hipcc
Change-Id: Ibd06e68dd1f079b2f9e46606bdbfc0a0a780b638


[ROCm/hip commit: ee1d7a339a]
2020-12-30 06:26:09 -05:00
Tao Sang 5d94d2ee98 Remove hip-hcc codes: Part one
Remove hip-hcc codes from hip code base
Simplify hip CMakeLists.txt to exclude hip-hcc
Simplify cmake cmd for hip-rocclr building
Some minor fixes

Change-Id: I1ae357ecfd638d6c25bca293c1724b026be21ecd


[ROCm/hip commit: 186f95ea30]
2020-12-09 15:49:47 -05:00
Jatin Chaudhary faa98ed4b9 Adding -Wl,@response_file and @response_file mechanism to hipcc
Change-Id: Ic2053a38034b9366cf82fc01b7ea6b52e0f17077


[ROCm/hip commit: 1242375bf9]
2020-12-07 13:38:35 -05:00
Jatin Chaudhary 092d5e5bf7 Adding -x hip/c/none after each input file, this should allow compilations like 'hipcc a.cc b.o c.c'
Change-Id: If35571c0f8ff8bf51aebd793fc0c81c0e418ca5c


[ROCm/hip commit: 7d40a13245]
2020-11-19 02:04:33 -05:00
Yaxun (Sam) Liu 91950fbf62 Fix embedding PCH
Change-Id: Ibaf043c9e331f15965185cd4195da98d9441cba3


[ROCm/hip commit: b7f66b634a]
2020-11-18 00:56:42 -05:00
agodavar ead59333f5 SWDEV-249870: Generate Pre-Compiled Headers from includes in source repo for Online Compilation
Change-Id: I663f510603e983927f80f7944df4d039ba7bc0b0


[ROCm/hip commit: bf0b75baed]
2020-11-12 10:50:33 -05:00
Konstantin Zhuravlyov 20390689ff SWDEV-198415 - Implement Target ID Proposal
Changes from Jatin Chaudhary, Tony Tye

Change-Id: I14904920ad2356ae2098cf827b83613089d33962


[ROCm/hip commit: c4beefe00b]
2020-11-10 13:31:43 -05:00
agodavar 13436a7e1f cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839


[ROCm/hip commit: d10124e1d7]
2020-10-21 07:26:14 -04:00
Rahul Garg 03001805c3 Bump version to 4.0
Change-Id: Ia8c3b21ccd58f07c95aa3030bc787144f934f80e


[ROCm/hip commit: 6572d1d522]
2020-10-19 21:00:13 -04:00
Freddy Paul 4adc690374 HIP:Break dependency to rocm-dev package
Check for rocm_agent_enumerator instead of rocminfo or
.info/version.

Change-Id: I1718bd4f70b3e527ea3afe19c1a685ab7ed70808


[ROCm/hip commit: 863082c528]
2020-10-12 17:53:53 -04:00
Sarbojit Sarkar 0eebd71062 SWDEV:253548 : remove gfx-arch macros
Change-Id: I1ef0b4e080c15a9c6228f48ecd6a65b134d0a72d


[ROCm/hip commit: a2f9a2d469]
2020-10-06 01:15:58 -04:00
Rahul Garg 11ee314c11 Bump version to 3.10
Change-Id: I7410996510fa24d2db0a4ecb2a2642e2e95058cf


[ROCm/hip commit: ee75be9cd4]
2020-10-05 20:26:38 -04:00
Vladislav Sytchenko e4caaa2a77 Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 28b17d3dbd.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9


[ROCm/hip commit: ad2d55c144]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 28b17d3dbd Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit 258d79bca7.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721


[ROCm/hip commit: 374ead1d19]
2020-10-05 13:02:39 -04:00
Vladislav Sytchenko 258d79bca7 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: I0587f67e28cec51c2ae753e986d2c7ce21db271e


[ROCm/hip commit: 73558e3363]
2020-10-05 09:51:06 -04:00
Srinivasan Subramanian e23c2e2065 hipcc doesn't find libhsakmt without ldconf entries
Signed-off-by: Srinivasan Subramanian <srinivasan.subramanian@amd.com>
Change-Id: Iea6a43786f05c9e44dcf863f4f96a53f81384dbd


[ROCm/hip commit: 966ee44aae]
2020-10-02 12:55:00 -04:00
agodavar 53fa367039 SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
Change-Id: Iec989787e546ff2eb68c4b146dc540655698b569


[ROCm/hip commit: 288fbe5af3]
2020-09-24 12:18:06 -04:00
kjayapra-amd ba88ed195f SWDEV-251941 - Adding gfx1030, gfx1031 support to mainline.
Change-Id: Ifbe0d72646f5f00c7b8e16338587fc564a314b92


[ROCm/hip commit: 9d9602aca5]
2020-09-14 17:10:17 -04:00
Vladislav Sytchenko 17a629d5c5 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: I53f9c054e5df19bd8b130e7610d71b91d525474a


[ROCm/hip commit: 82056cc7a0]
2020-09-10 11:31:46 -04:00
agodavar d9eef29787 SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
Change-Id: Ibcb365ce2ff27c4c2379609964078da42e1226b1


[ROCm/hip commit: 9e2fa6e215]
2020-09-09 13:44:13 -04:00
Rahul Garg 91b45333cb Fix dependency on rocm-dkms pkg
SWDEV-249463- hipcc can't find the rocm_agent_enumerator

Change-Id: I768a0d09753047508734d8360eb3d154edc0b0ef


[ROCm/hip commit: df1dc87d0f]
2020-09-03 03:30:59 -04:00
Jenkins 9cf1f60bc8 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I914aa748c92849f9f7ab796129a4617753d728db


[ROCm/hip commit: f9ebdacdfa]
2020-08-25 11:10:53 -04:00
Rahul Garg 8a5b10a216 Bump version to 3.9
Change-Id: I5dfc997336fac42f3b6b0998a4bb212462de38f9


[ROCm/hip commit: 2380cf7805]
2020-08-24 21:52:22 -04:00
Yaxun (Sam) Liu 4fcbffd307 Fix hipcc for extracing clang version
On teamcity clang --version returns something like

clang version 12.0.0
Target: x86_64-unknown-linux-gnu

currently hipcc does not handle it correctly since [^ ] causes new line and Targe:
matched. \S will make sure only version string matched.

Change-Id: I3659d6daf89b709d2b001e6b8024d69d8b79efc0


[ROCm/hip commit: d537bb3859]
2020-08-21 18:21:46 -04:00
Jenkins 4541cdb161 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I935fc8f681fad2df4e932407287a29a6a797351a


[ROCm/hip commit: d95ca630b5]
2020-08-14 09:09:52 +00:00
Yaxun (Sam) Liu 1604965299 Let hipcc not escape space between obj files extracted from library
hipcc extracts bundles from static libraries and pass them to clang. It should
not escape spaces between objects extracted from library.

Fixes: SWDEV-246544
Change-Id: Iad3902f28a43a3986917ee37a49f10382c329940


[ROCm/hip commit: 0964d64071]
2020-08-07 09:34:27 -04:00
Rahul Garg eb2f4da931 Bump version to 3.8
Change-Id: I710ee1456aa108eb979eb5bef8f32081dda593d9


[ROCm/hip commit: dd82a30348]
2020-07-30 13:30:55 -04:00
Rahul Garg e1bf817d60 Remove libhip_hcc symlinks to libamdhip64
Change-Id: I7b5b47fc7ca9760316c2424c16b454d7919c665c


[ROCm/hip commit: dc904abd8a]
2020-07-27 23:58:29 +00:00
Tao Sang db22e0d701 Support numa if libnume-dev is installed
Let rocclr decide numa dependence

Change-Id: I65bdfba7ec0d06b550f86632318bcfd1f765cfa9


[ROCm/hip commit: fc5ccbe13d]
2020-07-22 08:55:28 -04:00
Vlad Sytchenko 616c9f1e58 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: Id241c60d6c2ceb4049c3ec15d9fe06baf28bcb3a


[ROCm/hip commit: d7c99eb8ce]
2020-07-20 09:49:15 -04:00
Ashutosh Mishra c1456808c5 Adapting to static libaray changes for hipcc
Since the introduction of BUILD_SHARED_LIBS there is only one target created : libamdhip64
Which is static ( libamdhip64.a ) or Dynamic ( libamdhip64.so ) depending on whichever it is
being compiled for. After this change we do not have any target libamdhip64_static which is
mentioned in the hipcc for linking. Hence cleaning the same.

Change-Id: Ia45c145e17b111b3f6a32299a11962b10f1cc539


[ROCm/hip commit: 9f3cf75713]
2020-07-17 14:42:07 -04:00
Rahul Garg 63b52034a3 Bump version to 3.7
Change-Id: Id077c317573e95833c8bc7f16951df776de2a273


[ROCm/hip commit: 6a277dea45]
2020-07-08 01:54:05 -04:00
Michael LIAO 11cdea3778 [hipcc] Only add -x hip on HIP-Clang compilation.
Change-Id: I19704c713ad00f92196d7586498e62f80b8cd177


[ROCm/hip commit: 5ab67017f5]
2020-07-06 15:16:51 -04:00
Tao Sang c2a9bed3d7 Support numa policy set by user
Add hipHostMallocNumaUser flag to hipHostMalloc() in order to support
numa policy set by user.

Change-Id: I6d70ed539a5f97f27187f2242b68849c0e27e4d6


[ROCm/hip commit: 63051ca2e1]
2020-06-19 21:23:58 -04:00
Jenkins f96529dc2e Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: Id0bd0798c460b51653a73b6a9ce97ddaec92874a


[ROCm/hip commit: be658f6f76]
2020-06-16 21:09:56 +00:00
Vlad Sytchenko 6556412a83 Revert "Let hipcc not pass -mllvm option to HIP-Clang on Windows"
This reverts commit 9683880363.

Change-Id: If29906b9c63f03d6e51144f510d3a956d90935e8


[ROCm/hip commit: 01372e2cd4]
2020-06-11 16:36:48 -04:00
Siu Chi Chan ee30f289b4 fix uninitialized value in hipcc
Change-Id: I90b070c491f0efc328fcf97de0e111658ec772de


[ROCm/hip commit: 85e3b37052]
2020-06-10 16:07:51 -04:00
Yaxun (Sam) Liu 0a8e0c9147 Fix include path and wrapper header
Currently std::complex and some other std functions require uses to
include hip_runtime.h before any other headers to work, which is not
reliable.

changes are made in clang to fix this issue:
https://reviews.llvm.org/D81176

which requires hipcc and HIP headers to make corresponding changes.

This patch will make sure the clang change will not break
HIP/ROCclr during this transition.

After the transition is done, we can remove explicitly setting
include path for HIP-Clang and HIP header in hipcc and hip config
cmake files and rely on clang driver to set it automatically.

Change-Id: I5d226861c2560ffa6c5ab17343a43cc378048061


[ROCm/hip commit: 087c579625]
2020-06-09 17:37:20 -04:00
Rahul Garg 6d110befe1 Bump version to 3.6
Change-Id: I739a7bd03a4ed102bbc7c2f60d108e20132f5423


[ROCm/hip commit: 96a2834595]
2020-06-09 11:22:20 -04:00
kjayapra-amd 8986f88fd5 FEAT-30999 - Add gfx90a support in npi.
Change-Id: Iabd36196e25be441bb816d5bab7a829911507169


[ROCm/hip commit: 06013d5750]
2020-06-08 13:49:03 -04:00