cjatin
82610fe3d5
SWDEV-285685 - Make sure the output of hipconfig is without quotes on linux
...
Change-Id: I620cd41c7e6087b0d3d7da9ef7f9cecaf2f740ba
2021-05-17 20:50:36 +05:30
Aaron En Ye Shi
9c873353cc
SWDEV-283266 - Add hiprtc option to generate preprocessor expansion
...
Add -r/--generate_rtc option to hip_embed_pch.sh to generate the
preprocessor expansion output of the HIP headers for hipRTC mode.
Generates an object hiprtc_header.o and shared library libhiprtc.so
which can be used for hipRTC online compilations. Enable
__HIP_ENABLE_RTC by default in the CMake files.
Change-Id: Ief51b695c9b31941d929e06f16872f95eea3619b
2021-05-14 10:20:38 -04:00
Jatin Chaudhary
7941dedc45
SWDEV-283959 - Make hipcc recognize -xc -xc++ -xhip options and add CXX flags when user mentiones filetype as -x hip
...
Change-Id: I737fba3db77eef21eb88ccf648b4134218249456
2021-04-30 04:58:07 -04:00
cjatin
4f0e8fc382
SWDEV-277903 - Add HIP_ROCCLR_HOME under HIP_PLATFORM==amd
...
Change-Id: I00e156eb0a51f505300e288af59a0cf39b606e26
2021-04-29 03:08:34 -04:00
Rahul Garg
78b926d48d
SWDEV-280672 - Support HIP_PLATFORM=hcc in hipcc with warning
...
Change-Id: I6b199ea5ebed828a7f82c20d50fdf0fcfb887a64
2021-04-27 19:53:56 -04:00
Jatin Chaudhary
8e9e8f40e4
SWDEV-278810 - Remove default addition of CXX Flags if file type is not recognized
...
Change-Id: I2b29f246d138b511d77f8e78f273795b4977313f
2021-03-30 00:47:56 -04:00
kjayapra-amd
57615530a7
SWDEV-276169 - Multiprocess IPC tests for Events and Memory.
...
Change-Id: I4a7af60e732de234a535574aa8597a7abd0b899b
2021-03-11 11:16:23 -05:00
Rahul Garg
508f524204
SWDEV-275204 - Bump version to 4.2
...
Change-Id: I0b3512591b56bd114d935c09014b44cd45547b9e
2021-03-03 23:42:21 -05:00
Sarbojit Sarkar
35265be757
SWDEV-274436 - Fixed square build issue
...
Change-Id: If64be13be48bb7e620172ec245bc819c923f918a
2021-03-03 11:46:11 -05:00
Tao Sang
4048db950c
SWDEV-270973 - Add missing copyright headers
...
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
kjayapra-amd
20dd93a3be
SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
...
Change-Id: I02f53d4c7897d26243620cfc961fa9bd984cede4
2021-02-24 09:55:43 -05:00
Rahul Garg
18bd7b0c13
SWDEV-270994 - Bump version to 4.1
...
Change-Id: Ibe3fcff157f9e0872852dc690ed5db8a8c248049
2021-02-19 01:59:39 -05:00
Julia Jiang
e4fdbfcf5b
SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
...
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048
2021-02-08 13:17:46 -05:00
Aaron En Ye Shi
e4c1c79b2b
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
2021-02-03 19:41:35 +00:00
Aaron En Ye Shi
31e772adb5
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
2021-01-25 12:53:03 -05:00
David Salinas
de3031988d
remove extractkernel
...
Change-Id: I46a380059fa336aa7553669629a21e8aa7717e7b
2021-01-15 11:34:32 -08:00
David Salinas
7e9b9534d3
add new code object tooling: roc-obj-ls and roc-obj-extract
...
SWDEV-229776
Change-Id: Icb11c4552515d3eff3bcf303c4a470ab90d1dd58
2021-01-14 14:45:46 -05:00
Tao Sang
8fc1ff7d4f
Fix building mathlibs failure
...
Add back
__HIP_PLATFORM_HCC__
__HIP_PLATFORM_NVCC__
Change-Id: I1ae48678eafd849d6c25bcb204c1724b026be22f
2021-01-14 14:03:15 -05:00
Icarus Sparry
468929e539
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
2021-01-11 00:50:20 -05:00
Tao Sang
d504a761ad
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
2021-01-08 10:53:34 -05:00
Tao Sang
8a2b0b7424
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
2021-01-05 10:39:31 -05:00
agodavar
f3e350cd12
SWDEV-239065 Refactor hipcc, added new perl module hipvars
...
Change-Id: I2b71ceb2563501c7b2861cd0f2e23d01207b1bc2
2020-12-31 05:41:36 -05:00
agodavar
e7c85da68b
SWDEV-265171 Remove hcc compiler support from hipcc
...
Change-Id: Ibd06e68dd1f079b2f9e46606bdbfc0a0a780b638
2020-12-30 06:26:09 -05:00
Tao Sang
1cba7ec965
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
2020-12-09 15:49:47 -05:00
Jatin Chaudhary
19e234b420
Adding -Wl,@response_file and @response_file mechanism to hipcc
...
Change-Id: Ic2053a38034b9366cf82fc01b7ea6b52e0f17077
2020-12-07 13:38:35 -05:00
Jatin Chaudhary
d48c1d359a
Adding -x hip/c/none after each input file, this should allow compilations like 'hipcc a.cc b.o c.c'
...
Change-Id: If35571c0f8ff8bf51aebd793fc0c81c0e418ca5c
2020-11-19 02:04:33 -05:00
Yaxun (Sam) Liu
cdc7f3f49e
Fix embedding PCH
...
Change-Id: Ibaf043c9e331f15965185cd4195da98d9441cba3
2020-11-18 00:56:42 -05:00
agodavar
9ef681a618
SWDEV-249870: Generate Pre-Compiled Headers from includes in source repo for Online Compilation
...
Change-Id: I663f510603e983927f80f7944df4d039ba7bc0b0
2020-11-12 10:50:33 -05:00
Konstantin Zhuravlyov
73fb01cb3a
SWDEV-198415 - Implement Target ID Proposal
...
Changes from Jatin Chaudhary, Tony Tye
Change-Id: I14904920ad2356ae2098cf827b83613089d33962
2020-11-10 13:31:43 -05:00
agodavar
8717a78bf7
cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
...
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839
2020-10-21 07:26:14 -04:00
Rahul Garg
3979d063a1
Bump version to 4.0
...
Change-Id: Ia8c3b21ccd58f07c95aa3030bc787144f934f80e
2020-10-19 21:00:13 -04:00
Freddy Paul
5a46d80682
HIP:Break dependency to rocm-dev package
...
Check for rocm_agent_enumerator instead of rocminfo or
.info/version.
Change-Id: I1718bd4f70b3e527ea3afe19c1a685ab7ed70808
2020-10-12 17:53:53 -04:00
Sarbojit Sarkar
3f0e33adb5
SWDEV:253548 : remove gfx-arch macros
...
Change-Id: I1ef0b4e080c15a9c6228f48ecd6a65b134d0a72d
2020-10-06 01:15:58 -04:00
Rahul Garg
9f81811fd2
Bump version to 3.10
...
Change-Id: I7410996510fa24d2db0a4ecb2a2642e2e95058cf
2020-10-05 20:26:38 -04:00
Vladislav Sytchenko
d5aa0f607d
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 9142674ef0 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
9142674ef0
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit d7c02619d6 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
Vladislav Sytchenko
d7c02619d6
Merge branch 'amd-master-next' into amd-npi-next
...
Change-Id: I0587f67e28cec51c2ae753e986d2c7ce21db271e
2020-10-05 09:51:06 -04:00
Srinivasan Subramanian
8b889ad26e
hipcc doesn't find libhsakmt without ldconf entries
...
Signed-off-by: Srinivasan Subramanian <srinivasan.subramanian@amd.com >
Change-Id: Iea6a43786f05c9e44dcf863f4f96a53f81384dbd
2020-10-02 12:55:00 -04:00
agodavar
3c9bbc335a
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Iec989787e546ff2eb68c4b146dc540655698b569
2020-09-24 12:18:06 -04:00
kjayapra-amd
c3aa54d4e2
SWDEV-251941 - Adding gfx1030, gfx1031 support to mainline.
...
Change-Id: Ifbe0d72646f5f00c7b8e16338587fc564a314b92
2020-09-14 17:10:17 -04:00
Vladislav Sytchenko
d078dab53b
Merge branch 'amd-master-next' into amd-npi-next
...
Change-Id: I53f9c054e5df19bd8b130e7610d71b91d525474a
2020-09-10 11:31:46 -04:00
agodavar
38ce8784c0
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Ibcb365ce2ff27c4c2379609964078da42e1226b1
2020-09-09 13:44:13 -04:00
Rahul Garg
9db9bed960
Fix dependency on rocm-dkms pkg
...
SWDEV-249463- hipcc can't find the rocm_agent_enumerator
Change-Id: I768a0d09753047508734d8360eb3d154edc0b0ef
2020-09-03 03:30:59 -04:00
Jenkins
ee490fae12
Merge 'amd-master-next' into 'amd-npi-next'
...
Change-Id: I914aa748c92849f9f7ab796129a4617753d728db
2020-08-25 11:10:53 -04:00
Rahul Garg
5fb155dbf5
Bump version to 3.9
...
Change-Id: I5dfc997336fac42f3b6b0998a4bb212462de38f9
2020-08-24 21:52:22 -04:00
Yaxun (Sam) Liu
5e5fb829ed
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
2020-08-21 18:21:46 -04:00
Jenkins
e1af6830ad
Merge 'amd-master-next' into 'amd-npi-next'
...
Change-Id: I935fc8f681fad2df4e932407287a29a6a797351a
2020-08-14 09:09:52 +00:00
Yaxun (Sam) Liu
c1a498c219
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
2020-08-07 09:34:27 -04:00
Rahul Garg
2140833421
Bump version to 3.8
...
Change-Id: I710ee1456aa108eb979eb5bef8f32081dda593d9
2020-07-30 13:30:55 -04:00
Rahul Garg
c919a88795
Remove libhip_hcc symlinks to libamdhip64
...
Change-Id: I7b5b47fc7ca9760316c2424c16b454d7919c665c
2020-07-27 23:58:29 +00:00