Yaxun Sam Liu
f6316a95b8
Let hipcc handle static library for hip-clang
2018-08-01 22:03:01 -04:00
Yaxun Sam Liu
43bb490947
Add HCC compatibility mode
2018-08-01 15:14:38 -04:00
Maneesh Gupta
7615257ec3
[hipcc] Initialize CUDA_PATH before printing
...
Change-Id: Ifd448b628fa4a7055f4a439ed2c817c5f11f9bef
2018-07-25 15:29:57 +05:30
Yaxun Sam Liu
bd31e83d18
Fix warnings about unused command line option --hip-link
...
and set search path for libhip_hcc.so
2018-07-23 14:55:07 -04:00
Yaxun Sam Liu
c59aa75f25
Fix hipcc for -M for hip-clang
2018-07-23 09:26:42 -04:00
Yaxun Sam Liu
025afa1cb5
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.
2018-07-23 09:26:42 -04:00
Yaxun (Sam) Liu
80438035c2
Support std::complex for hip-clang
2018-07-18 00:08:04 -04:00
Aaron Enye Shi
2975f2a10a
Merge branch 'master' into hipclang-add-amdgcn-funcs
2018-07-04 17:36:08 +00:00
Maneesh Gupta
66f12daaa4
Merge pull request #539 from ROCm-Developer-Tools/fix-tf-link
...
Add workaround to hipcc for build failure in tensorflow due to missin…
2018-07-04 11:08:52 +05:30
Maneesh Gupta
7927f66326
Merge pull request #517 from ROCm-Developer-Tools/fix-hipcc-link
...
Let hipcc handle static library for hip-clang only if it contains bun…
2018-07-04 10:51:44 +05:30
Yaxun (Sam) Liu
021728cd86
Add workaround to hipcc for build failure in tensorflow due to missing symbol __cpu_model
...
https://github.com/tensorflow/tensorflow/issues/9593
2018-06-25 18:14:51 -04:00
Aaron Enye Shi
73023e0a54
HIPCC - Use clang if clang++ is not compiled
2018-06-21 18:12:55 +00:00
Aaron Enye Shi
2142eb4d12
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.
2018-06-20 17:39:31 +00:00
Yaxun (Sam) Liu
46d3c1d51e
Let hipcc handle library with extension lo for hip-clang
2018-06-19 10:51:08 -04:00
Yaxun (Sam) Liu
2b32dbd414
Fix handling of static library in hipcc for hip-clang
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu
f0935e6d4f
Let hipcc handle static library for hip-clang only if it contains bundles
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu
04a0f9bd81
Let hipcc handle library in linker response file for hip-clang
2018-06-08 11:14:26 -04:00
Maneesh Gupta
bdf2645713
Merge pull request #466 from ROCm-Developer-Tools/feature_use_Float16
...
Feature use _Float16 and match CUDA __half behaviour.
2018-06-01 13:50:12 +05:30
Yaxun (Sam) Liu
9008a3ec56
Drop --amdgpu-target= options for hip-clang
...
They are replaced by --cuda-gpu-arch= options elsewhere
2018-05-30 06:47:44 -04:00
Yaxun (Sam) Liu
b7801f1fe3
Add more function declarations to hip-clang
2018-05-25 16:18:46 -04:00
Alex Voicu
9c7fbdb597
Remove vestigial inline LLVMIR.
2018-05-24 12:46:14 +01:00
Maneesh Gupta
343083b807
Merge pull request #454 from ROCm-Developer-Tools/hip-clang-hipcc
...
Let hipcc suport hip-clang
2018-05-21 09:51:42 +05:30
Yaxun (Sam) Liu
f4d79a1615
Let hipcc suport hip-clang
2018-05-17 14:40:15 -04:00
Siu Chi Chan
b898049412
initial gfx906 support
2018-05-10 19:28:00 +00:00
Maneesh Gupta
228fae1224
Cleanup bin directory
...
Remove hccgenco.sh and hsa-api-filter-cxl.txt
Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79
2018-04-04 14:31:40 +05:30
Siu Chi Chan
52a91d7c3a
On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++
2018-03-15 16:46:01 -04:00
Maneesh Gupta
7cdbb9fa91
Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
...
Change hipconfig to adopt new location of llc
2018-03-06 11:59:44 +05:30
Alex Voicu
dc7560ef22
Change directory name to match HIP lowercase style.
2018-02-22 13:15:10 +00:00
Alex Voicu
b29c8461e1
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
2018-01-24 12:33:45 +00:00
Evgeny Mankov
356eaa81b8
[HIPIFY][perl] Typo fix
2018-01-18 09:14:16 +03:00
Alex Voicu
e14ac87474
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
2017-12-14 13:50:49 +00:00
Phaneendr-kumar Lanka
8a721b4a36
[nvccWarnings] Fix gpu deprecated targets warnings
2017-12-12 16:00:14 +05:30
Alex Voicu
b842394957
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.
2017-12-08 04:22:57 +00:00
Wen-Heng (Jack) Chung
d841bbac59
Change hipconfig to adopt new location of llc
...
llc is now placed under $HCC_HOME/bin, instead of $HCC_HOME/compiler/bin.
2017-12-06 19:30:10 +00:00
Ben Sander
657e65733f
Remove coordinate conversions (threadIdx.x -> hipThreadIdx_x)
...
Since these are now supported directly.
2017-12-02 07:44:54 -06:00
Maneesh Gupta
f4187b0f16
Bumped HIP version to 1.5 and updated summary in HIP release notes
...
Change-Id: I4b612da88236674fac2c585ab6891bdd495511b0
2017-11-29 13:56:17 +05:30
Rahul Garg
fef496d4f1
Fixed half2 issue on gfx900
2017-11-15 18:52:59 +05:30
Maneesh Gupta
f34f5c8684
Remove libsupc++ dependency from HIP
...
Change-Id: Ib843f99dfb3057b7c28029250c2449732ea7f17f
2017-11-02 12:29:09 +05:30
Siu Chi Chan
cd6996614f
use libc++ on centos 7 and rhel 7.4
2017-10-31 18:14:07 +00:00
Maneesh Gupta
ca239ab6ef
Bump HIP version to 1.4 and update release notes
...
Change-Id: I3570dedb32fe5fec6f60565c587a3282a4c6c709
2017-10-06 10:26:11 +05:30
wsttiger
2ec8de3b27
Remove the conversion of warpSize to be consistent with hipDeviceProp
2017-09-15 15:05:05 -05:00
Maneesh Gupta
8c92d28ff3
Merge pull request #155 from wsttiger/master
...
Modify hip headers such that they are more compatible with strict C compiler
2017-09-15 10:49:55 +05:30
Aaron Enye Shi
ffe21c9d75
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.
2017-09-14 10:55:38 -04:00
Aaron Enye Shi
a6028ade1e
Added support for RHEL 7.4
2017-09-13 14:21:43 -04:00
Aaron Enye Shi
b340f4a6ed
Update hipcc
2017-09-12 17:50:44 -04:00
Aaron Enye Shi
c7746b12ac
Must explicitly add libc++ and libc++abi
2017-09-12 16:59:43 -04:00
Aaron Enye Shi
edd0b360b2
[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'.
2017-09-08 11:46:10 -04:00
Maneesh Gupta
8c94bc0009
Bump HIP version to 1.3 and update release notes
...
Change-Id: I53f89efca03472cb906bd56200a2bf2996453915
2017-08-16 11:18:51 +05:30
wsttiger
512214e930
Add missing CUDA tags
2017-08-15 13:22:20 -05:00
Maneesh Gupta
85ff6e3ef4
[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
2017-07-31 10:11:19 +05:30