Yaxun Sam Liu
a7f7a01513
Let hipcc handle clang-offload-bundler file in obj format for hip-clang
...
[ROCm/hip commit: 3d51a1fb01 ]
2018-11-08 16:50:34 -05:00
Maneesh Gupta
ac071f5390
Merge pull request #714 from aaronenyeshi/remove-static-hip-device
...
Remove libhip_device.a static library
[ROCm/hip commit: 0b86b421c1 ]
2018-10-31 14:08:29 +05:30
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
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
de8b3d2e7d
Merge pull request #698 from yxsamliu/compile-flags
...
Add HIPCC_COMPILE_FLAGS_APPEND
[ROCm/hip commit: 4b754e1d77 ]
2018-10-17 10:53:17 +05:30
Yaxun Sam Liu
a71be7ff2d
Let hipcc add --hip-device-lib-path by default for hip-clang
...
hip-clang by default assumes -fno-gpu-rdc, therefore requires
--hip-device-lib-path by default.
[ROCm/hip commit: 43402d5602 ]
2018-10-01 15:14:54 -04:00
Yaxun Sam Liu
f201230ad3
Add HIPCC_COMPILE_FLAGS_APPEND
...
[ROCm/hip commit: dcc85be374 ]
2018-10-01 14:51:29 -04:00
Maneesh Gupta
971fa23aec
Merge pull request #637 from ROCm-Developer-Tools/add-pthread
...
Let hipcc link -lpthread -lm by default
[ROCm/hip commit: d6ce39c1b7 ]
2018-09-14 13:21:47 +05:30
Yaxun Sam Liu
6f86ceae62
Let hipcc link -lpthread -lm by default
...
[ROCm/hip commit: 4f17b4877e ]
2018-09-04 17:11:47 -04:00
Yaxun Sam Liu
ab2445e972
Let hipcc handle obj files in linker response file for hip-clang
...
If obj files in linker response file contains device code, pass them to hip-clang, otherwise keep them in the linker
response file.
[ROCm/hip commit: 1587b18a91 ]
2018-09-04 16:57:55 -04:00
Maneesh Gupta
b5569a7be9
[hipcc] Remove libhsakmt from linker flags
...
Change-Id: I6dc769d09d8c7546fbc594c1eb65f9edf0f0ff58
[ROCm/hip commit: e658b68c14 ]
2018-08-14 15:31:04 +05:30
Maneesh Gupta
83db29605b
Merge pull request #616 from ROCm-Developer-Tools/hip-clang-static-lib
...
Let hipcc handle static library for hip-clang
[ROCm/hip commit: 04dd1a8daf ]
2018-08-10 09:35:22 +05:30
Yaxun Sam Liu
6bfea1fe3c
Let hipcc handle static library for hip-clang
...
[ROCm/hip commit: f6316a95b8 ]
2018-08-01 22:03:01 -04:00
Yaxun Sam Liu
43437a3689
Add HCC compatibility mode
...
[ROCm/hip commit: 43bb490947 ]
2018-08-01 15:14:38 -04:00
Maneesh Gupta
ef0e001131
[hipcc] Initialize CUDA_PATH before printing
...
Change-Id: Ifd448b628fa4a7055f4a439ed2c817c5f11f9bef
[ROCm/hip commit: 7615257ec3 ]
2018-07-25 15:29:57 +05:30
Yaxun Sam Liu
0d565e3274
Fix warnings about unused command line option --hip-link
...
and set search path for libhip_hcc.so
[ROCm/hip commit: bd31e83d18 ]
2018-07-23 14:55:07 -04:00
Yaxun Sam Liu
0a8bd06aae
Fix hipcc for -M for hip-clang
...
[ROCm/hip commit: c59aa75f25 ]
2018-07-23 09:26:42 -04:00
Yaxun Sam Liu
c1c58da0b0
Let hipcc use proper include and lib path for HIP/VDI
...
Add support of environment variable HIP_VDI_HOME.
By setting environment variable HIP_VDI_HOME to the distribution directory of HIP/VDI, hipcc
will choose proper include and lib path for hip-clang.
[ROCm/hip commit: 025afa1cb5 ]
2018-07-23 09:26:42 -04:00
Yaxun (Sam) Liu
30e14f699b
Support std::complex for hip-clang
...
[ROCm/hip commit: 80438035c2 ]
2018-07-18 00:08:04 -04:00
Aaron Enye Shi
e8fac0449e
Merge branch 'master' into hipclang-add-amdgcn-funcs
...
[ROCm/hip commit: 2975f2a10a ]
2018-07-04 17:36:08 +00:00
Maneesh Gupta
f9ea86e749
Merge pull request #539 from ROCm-Developer-Tools/fix-tf-link
...
Add workaround to hipcc for build failure in tensorflow due to missin…
[ROCm/hip commit: 66f12daaa4 ]
2018-07-04 11:08:52 +05:30
Maneesh Gupta
86abb2f7b8
Merge pull request #517 from ROCm-Developer-Tools/fix-hipcc-link
...
Let hipcc handle static library for hip-clang only if it contains bun…
[ROCm/hip commit: 7927f66326 ]
2018-07-04 10:51:44 +05:30
Yaxun (Sam) Liu
af0e9b54de
Add workaround to hipcc for build failure in tensorflow due to missing symbol __cpu_model
...
https://github.com/tensorflow/tensorflow/issues/9593
[ROCm/hip commit: 021728cd86 ]
2018-06-25 18:14:51 -04:00
Aaron Enye Shi
a7baff62e7
HIPCC - Use clang if clang++ is not compiled
...
[ROCm/hip commit: 73023e0a54 ]
2018-06-21 18:12:55 +00:00
Aaron Enye Shi
2a2f34b42d
Implement hip_hc.ll into HIP headers
...
Move all __hip_hc_ir_* functions from hip_hc.ll into HIP header as inline asm. Remove hip_hc.ll and build dependencies from HIP.
[ROCm/hip commit: 2142eb4d12 ]
2018-06-20 17:39:31 +00:00
Yaxun (Sam) Liu
8696038043
Let hipcc handle library with extension lo for hip-clang
...
[ROCm/hip commit: 46d3c1d51e ]
2018-06-19 10:51:08 -04:00
Yaxun (Sam) Liu
acaf783f52
Fix handling of static library in hipcc for hip-clang
...
[ROCm/hip commit: 2b32dbd414 ]
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu
0573ee79de
Let hipcc handle static library for hip-clang only if it contains bundles
...
[ROCm/hip commit: f0935e6d4f ]
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu
07bb1c44df
Let hipcc handle library in linker response file for hip-clang
...
[ROCm/hip commit: 04a0f9bd81 ]
2018-06-08 11:14:26 -04:00
Maneesh Gupta
7f9b00ba19
Merge pull request #466 from ROCm-Developer-Tools/feature_use_Float16
...
Feature use _Float16 and match CUDA __half behaviour.
[ROCm/hip commit: bdf2645713 ]
2018-06-01 13:50:12 +05:30
Yaxun (Sam) Liu
ef02210768
Drop --amdgpu-target= options for hip-clang
...
They are replaced by --cuda-gpu-arch= options elsewhere
[ROCm/hip commit: 9008a3ec56 ]
2018-05-30 06:47:44 -04:00
Yaxun (Sam) Liu
960fe360f5
Add more function declarations to hip-clang
...
[ROCm/hip commit: b7801f1fe3 ]
2018-05-25 16:18:46 -04:00
Alex Voicu
a7da1ccf2e
Remove vestigial inline LLVMIR.
...
[ROCm/hip commit: 9c7fbdb597 ]
2018-05-24 12:46:14 +01:00
Maneesh Gupta
ecb874ef5a
Merge pull request #454 from ROCm-Developer-Tools/hip-clang-hipcc
...
Let hipcc suport hip-clang
[ROCm/hip commit: 343083b807 ]
2018-05-21 09:51:42 +05:30
Yaxun (Sam) Liu
67a2d9739e
Let hipcc suport hip-clang
...
[ROCm/hip commit: f4d79a1615 ]
2018-05-17 14:40:15 -04:00
Siu Chi Chan
c05e2e2261
initial gfx906 support
...
[ROCm/hip commit: b898049412 ]
2018-05-10 19:28:00 +00:00
Siu Chi Chan
b7fb235738
On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++
...
[ROCm/hip commit: 52a91d7c3a ]
2018-03-15 16:46:01 -04:00
Alex Voicu
717a01660a
Change directory name to match HIP lowercase style.
...
[ROCm/hip commit: dc7560ef22 ]
2018-02-22 13:15:10 +00:00
Alex Voicu
044ae14b92
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
...
[ROCm/hip commit: e14ac87474 ]
2017-12-14 13:50:49 +00:00
Phaneendr-kumar Lanka
ca5c49c78c
[nvccWarnings] Fix gpu deprecated targets warnings
...
[ROCm/hip commit: 8a721b4a36 ]
2017-12-12 16:00:14 +05:30
Alex Voicu
56fd7f129a
This introduces LipoProteinLipase (lpl), a simple tool for creating fat binaries. It represents a direct replacement of the creaky hccgenco.sh script, which had various issues. The format it uses is that of a code object bundle, generated by the Clang Offload Bundler. The output is always suffixed with the ".adipose" extension. It is shared with HCC. The hipcc script and associated tests are modified to use lpl. Help can be obtained by invoking lpl --help. A more computer-sciency / corporate friendly name is likely to be beneficial, which is a reason for choosing easily searchable/replaceable names such as lpl or adipose.
...
[ROCm/hip commit: b842394957 ]
2017-12-08 04:22:57 +00:00
Rahul Garg
d0ee6e00fe
Fixed half2 issue on gfx900
...
[ROCm/hip commit: fef496d4f1 ]
2017-11-15 18:52:59 +05:30
Maneesh Gupta
94a22fe015
Remove libsupc++ dependency from HIP
...
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f
[ROCm/hip commit: f34f5c8684 ]
2017-11-02 12:29:09 +05:30
Siu Chi Chan
b6265074fa
use libc++ on centos 7 and rhel 7.4
...
[ROCm/hip commit: cd6996614f ]
2017-10-31 18:14:07 +00:00
Aaron Enye Shi
198d58a5e4
hcc-config already sets -lc++ -lc++abi flags
...
Since hcc-config will set the flags for CentOS7 and RHEL 7.X, we don't need to set flags here.
[ROCm/hip commit: ffe21c9d75 ]
2017-09-14 10:55:38 -04:00
Aaron Enye Shi
d907b33b5d
Added support for RHEL 7.4
...
[ROCm/hip commit: a6028ade1e ]
2017-09-13 14:21:43 -04:00
Aaron Enye Shi
2b062793ed
Update hipcc
...
[ROCm/hip commit: b340f4a6ed ]
2017-09-12 17:50:44 -04:00
Aaron Enye Shi
a6e0f18352
Must explicitly add libc++ and libc++abi
...
[ROCm/hip commit: c7746b12ac ]
2017-09-12 16:59:43 -04:00
Aaron Enye Shi
d277b17044
[CentOS7] Fix HIP sample hipInfo and other tests
...
Cent OS 7 has conflicts between its libc++ and libstdc++. Seems that we cannot use libstdc++ on Cent OS. This is related to SWDEV-131972 [ROCm CQE][Cent OS 7][G] Building any HIP sample giving an fatal error: 'bits/c++config.h'.
[ROCm/hip commit: edd0b360b2 ]
2017-09-08 11:46:10 -04:00
Maneesh Gupta
5c9d90007f
[hipcc] Fix amdgpu target selection logic
...
- Refactoring introduced a bug when user does not specify any target via
--amdgpu-target, but has an invalid target specified in
HCC_AMDGPU_TARGET. In this case the selection logic was defaulting to
gf803.
- Removed defaulting to any specific target if rocm_agent_enumerator
fails. hipcc will report this and die if linking was required.
Change-Id: I76131867049fef92331807dd19a926406dcc1d02
[ROCm/hip commit: 85ff6e3ef4 ]
2017-07-31 10:11:19 +05:30