Konstantin Zhuravlyov
c447b392d7
SWDEV-314372 - Refactor hipcc and hipconfig scripts ( #2476 )
...
* SWDEV-314372 - Refactor hipcc and hipconfig scripts
- Rename original hipcc to hipcc.pl
- Rename original hipconfig to hipconfig.pl
- New hipcc to invoke either hipcc.pl or hipcc.bin based on env var
- New hipconfig to invoke either hipconfig.pl or hipconfig.bin based on env var
* SWDEV-314372 - Add executable permissions to hipcc and hipconfig
2022-02-10 09:33:01 -08:00
Maneesh Gupta
ee16f95c77
SWDEV-320978 - Revert "SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation ( #2438 )" ( #2469 )
...
This reverts commit 9799a0278a .
2022-02-04 09:52:41 -08:00
agunashe
9799a0278a
SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation ( #2438 )
...
Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff
2022-01-13 10:03:58 +05:30
Maneesh Gupta
cddb52549b
SWDEV-314299 - chomp HIP_CLANG_TARGET
...
HIP_CLANG_TARGET can contain newline. chomp it to avoid warnings since we use the result in file stat
2021-12-08 17:02:31 +05:30
Sarbojit2019
a6f49b27db
SWDEV-304211 - Removed known targets from hipcc ( #2388 )
2021-11-25 15:09:36 +05:30
Jatin Chaudhary
5d57c55c4a
SWDEV-303745 - Add new path of clangrt lib ( #2385 )
...
Change-Id: I3bfe28ac5c50884653187d733a466e661ff32f7d
2021-11-25 15:09:00 +05:30
Jatin Chaudhary
63dfe6e8a1
SWDEV-294226 - Add -x c++ if openmp targets are mentioned ( #2363 )
...
Change-Id: Ie15d63eebe2b0b86487ac59845b4fc7f5e5a9e86
2021-09-24 16:28:25 +05:30
Harmen Stoppels
b248df8653
Fix -Wl,--rpath -> -Wl,-rpath ( #2305 )
2021-08-19 10:26:23 +05:30
Harmen Stoppels
526d0bf97b
Use perl from PATH, not from absolute shebang ( #2304 )
2021-08-19 10:26:03 +05:30
agunashe
d529637fbc
SWDEV-293742 - Update copyright end year
...
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Nick Curtis
6d20ee19c7
SWDEV-290252 - Fix for incorrect call to ar in mixed shared / static link
...
Corrects an invalid call to 'ar', which results in link failures for mixed shared
and static link invocations using hipcc.
Change-Id: I51c33438106af066a13e5ff9533721cdc326790d
2021-06-14 04:20:45 -04:00
Sarbojit Sarkar
571eea5059
SWDEV-285459 - fix for rpath vs runpath
...
Change-Id: I5919b7af09f1ee4dbeaf74090d8a84ab430987fb
2021-06-11 00:44:42 -04:00
Arya.Rafii
408486d6d0
SWDEV-290228 - Adding support for path with white spaces in the name
...
Change-Id: I84a4235f6246c72d182c744174b5a2b1eb9ad9a7
2021-06-10 14:00:47 -04:00
Anusha GodavarthySurya
093af3cf25
SWDEV-288065 - allow hipcc to recognize .C files
...
Change-Id: I0ec884eb6e083e823cf27ca1251c354a7f3b744c
2021-05-26 10:25:57 -07:00
Jatin Chaudhary
a4c9db8e17
SWDEV-277697 - Make sure hipcc can handle standard CXX options when being used with nvcc
...
Change-Id: I76b1f2943a660eefda858397218a775083b99228
2021-05-25 07:35:02 -04:00
Jatin Chaudhary
6c01fb7ab8
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
a717608f93
SWDEV-277903 - Add HIP_ROCCLR_HOME under HIP_PLATFORM==amd
...
Change-Id: I00e156eb0a51f505300e288af59a0cf39b606e26
2021-04-29 03:08:34 -04:00
Jatin Chaudhary
e2425ba34d
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
0bed2779aa
SWDEV-276169 - Multiprocess IPC tests for Events and Memory.
...
Change-Id: I4a7af60e732de234a535574aa8597a7abd0b899b
2021-03-11 11:16:23 -05:00
Tao Sang
b504a9bfae
SWDEV-270973 - Add missing copyright headers
...
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
kjayapra-amd
848b7e3ec0
SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
...
Change-Id: I02f53d4c7897d26243620cfc961fa9bd984cede4
2021-02-24 09:55:43 -05:00
Aaron En Ye Shi
af6cc3c45f
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
9e47efe0e6
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
Icarus Sparry
24c8e5a348
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
b34dd95124
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
agodavar
547473126e
SWDEV-239065 Refactor hipcc, added new perl module hipvars
...
Change-Id: I2b71ceb2563501c7b2861cd0f2e23d01207b1bc2
2020-12-31 05:41:36 -05:00
agodavar
ee1d7a339a
SWDEV-265171 Remove hcc compiler support from hipcc
...
Change-Id: Ibd06e68dd1f079b2f9e46606bdbfc0a0a780b638
2020-12-30 06:26:09 -05:00
Jatin Chaudhary
1242375bf9
Adding -Wl,@response_file and @response_file mechanism to hipcc
...
Change-Id: Ic2053a38034b9366cf82fc01b7ea6b52e0f17077
2020-12-07 13:38:35 -05:00
Jatin Chaudhary
7d40a13245
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
Konstantin Zhuravlyov
c4beefe00b
SWDEV-198415 - Implement Target ID Proposal
...
Changes from Jatin Chaudhary, Tony Tye
Change-Id: I14904920ad2356ae2098cf827b83613089d33962
2020-11-10 13:31:43 -05:00
agodavar
d10124e1d7
cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
...
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839
2020-10-21 07:26:14 -04:00
Freddy Paul
863082c528
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
a2f9a2d469
SWDEV:253548 : remove gfx-arch macros
...
Change-Id: I1ef0b4e080c15a9c6228f48ecd6a65b134d0a72d
2020-10-06 01:15:58 -04:00
Vladislav Sytchenko
ad2d55c144
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 374ead1d19 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
374ead1d19
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 73558e3363 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
Vladislav Sytchenko
73558e3363
Merge branch 'amd-master-next' into amd-npi-next
...
Change-Id: I0587f67e28cec51c2ae753e986d2c7ce21db271e
2020-10-05 09:51:06 -04:00
Srinivasan Subramanian
966ee44aae
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
kjayapra-amd
9d9602aca5
SWDEV-251941 - Adding gfx1030, gfx1031 support to mainline.
...
Change-Id: Ifbe0d72646f5f00c7b8e16338587fc564a314b92
2020-09-14 17:10:17 -04:00
Vladislav Sytchenko
82056cc7a0
Merge branch 'amd-master-next' into amd-npi-next
...
Change-Id: I53f9c054e5df19bd8b130e7610d71b91d525474a
2020-09-10 11:31:46 -04:00
Rahul Garg
df1dc87d0f
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
f9ebdacdfa
Merge 'amd-master-next' into 'amd-npi-next'
...
Change-Id: I914aa748c92849f9f7ab796129a4617753d728db
2020-08-25 11:10:53 -04:00
Yaxun (Sam) Liu
d537bb3859
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
d95ca630b5
Merge 'amd-master-next' into 'amd-npi-next'
...
Change-Id: I935fc8f681fad2df4e932407287a29a6a797351a
2020-08-14 09:09:52 +00:00
Yaxun (Sam) Liu
0964d64071
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
dc904abd8a
Remove libhip_hcc symlinks to libamdhip64
...
Change-Id: I7b5b47fc7ca9760316c2424c16b454d7919c665c
2020-07-27 23:58:29 +00:00
Tao Sang
fc5ccbe13d
Support numa if libnume-dev is installed
...
Let rocclr decide numa dependence
Change-Id: I65bdfba7ec0d06b550f86632318bcfd1f765cfa9
2020-07-22 08:55:28 -04:00
Vlad Sytchenko
d7c99eb8ce
Merge branch 'amd-master-next' into amd-npi-next
...
Change-Id: Id241c60d6c2ceb4049c3ec15d9fe06baf28bcb3a
2020-07-20 09:49:15 -04:00
Ashutosh Mishra
9f3cf75713
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
2020-07-17 14:42:07 -04:00
Michael LIAO
5ab67017f5
[hipcc] Only add -x hip on HIP-Clang compilation.
...
Change-Id: I19704c713ad00f92196d7586498e62f80b8cd177
2020-07-06 15:16:51 -04:00
Tao Sang
63051ca2e1
Support numa policy set by user
...
Add hipHostMallocNumaUser flag to hipHostMalloc() in order to support
numa policy set by user.
Change-Id: I6d70ed539a5f97f27187f2242b68849c0e27e4d6
2020-06-19 21:23:58 -04:00