Commit Graph

250 Commits

Author SHA1 Message Date
Maneesh Gupta 98548054e9 Merge pull request #776 from yxsamliu/fix-vdi-path
Let hipcc handle HIP_VDI_HOME without x86_64

[ROCm/clr commit: a2de2a40d9]
2018-11-28 09:33:03 +05:30
Yaxun Sam Liu f2e2eb68e7 Let hip-clang support --genco
[ROCm/clr commit: 988dcd1e4a]
2018-11-27 15:55:50 -05:00
Yaxun Sam Liu f4798b2121 Let hipcc handle HIP_VDI_HOME without x86_64
[ROCm/clr commit: 0e8bc94a3f]
2018-11-26 17:00:37 -05:00
Michael Kuron 4b77b5c1ba Merge branch 'master' into getsymboladdress
[ROCm/clr commit: e9b88711e2]
2018-11-20 12:03:22 +01:00
Yaxun Sam Liu 858b71b7bd Let hipcc handle clang-offload-bundler file in obj format for hip-clang
[ROCm/clr commit: 8fef5618ed]
2018-11-08 16:50:34 -05:00
Michael Kuron f8b1d20fd9 hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize
[ROCm/clr commit: 538a8939a6]
2018-11-06 12:02:21 +01:00
Maneesh Gupta 130edf2c43 Merge pull request #714 from aaronenyeshi/remove-static-hip-device
Remove libhip_device.a static library

[ROCm/clr commit: c7f2198c6e]
2018-10-31 14:08:29 +05:30
Aaron Enye Shi 1c05b06bcd 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/clr commit: ba43d1ce1b]
2018-10-25 19:52:35 +00:00
Yaxun Sam Liu 5626b48795 Let hipcc handle gfx906 for hip-clang
[ROCm/clr commit: 1f7b924e2e]
2018-10-21 10:04:30 -04:00
Maneesh Gupta a818af7073 Merge pull request #698 from yxsamliu/compile-flags
Add HIPCC_COMPILE_FLAGS_APPEND

[ROCm/clr commit: 6a4aaed7f3]
2018-10-17 10:53:17 +05:30
Yaxun Sam Liu fbc0c4bb66 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/clr commit: 88768895bc]
2018-10-01 15:14:54 -04:00
Yaxun Sam Liu cb971f0a48 Add HIPCC_COMPILE_FLAGS_APPEND
[ROCm/clr commit: 2c361906fa]
2018-10-01 14:51:29 -04:00
Maneesh Gupta 5d98d0fcdd Merge pull request #637 from ROCm-Developer-Tools/add-pthread
Let hipcc link -lpthread -lm by default

[ROCm/clr commit: c6d0de2c21]
2018-09-14 13:21:47 +05:30
Yaxun Sam Liu fcc445b7fe Let hipcc link -lpthread -lm by default
[ROCm/clr commit: 7d1492ab61]
2018-09-04 17:11:47 -04:00
Yaxun Sam Liu ab6c9b7113 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/clr commit: 627c179612]
2018-09-04 16:57:55 -04:00
Maneesh Gupta 8a1fb05623 [hipcc] Remove libhsakmt from linker flags
Change-Id: I6dc769d09d8c7546fbc594c1eb65f9edf0f0ff58


[ROCm/clr commit: 2f5ee304f8]
2018-08-14 15:31:04 +05:30
Maneesh Gupta 23196fde48 Merge pull request #616 from ROCm-Developer-Tools/hip-clang-static-lib
Let hipcc handle static library for hip-clang

[ROCm/clr commit: 695746421f]
2018-08-10 09:35:22 +05:30
Yaxun Sam Liu b8bbc4f1fa Let hipcc handle static library for hip-clang
[ROCm/clr commit: 2ba45a23b8]
2018-08-01 22:03:01 -04:00
Yaxun Sam Liu 2d74df6f34 Add HCC compatibility mode
[ROCm/clr commit: b91691966f]
2018-08-01 15:14:38 -04:00
Maneesh Gupta 4403d1dc04 [hipcc] Initialize CUDA_PATH before printing
Change-Id: Ifd448b628fa4a7055f4a439ed2c817c5f11f9bef


[ROCm/clr commit: 2027675b3f]
2018-07-25 15:29:57 +05:30
Yaxun Sam Liu 5f73275382 Fix warnings about unused command line option --hip-link
and set search path for libhip_hcc.so


[ROCm/clr commit: 555c2f9c08]
2018-07-23 14:55:07 -04:00
Yaxun Sam Liu f45c9e9d61 Fix hipcc for -M for hip-clang
[ROCm/clr commit: 6053c71323]
2018-07-23 09:26:42 -04:00
Yaxun Sam Liu 192601f691 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/clr commit: 4627aa0085]
2018-07-23 09:26:42 -04:00
Yaxun (Sam) Liu dc1257a16c Support std::complex for hip-clang
[ROCm/clr commit: a8dc1257df]
2018-07-18 00:08:04 -04:00
Aaron Enye Shi 4b941a0db8 Merge branch 'master' into hipclang-add-amdgcn-funcs
[ROCm/clr commit: f8109c5b06]
2018-07-04 17:36:08 +00:00
Maneesh Gupta 4444910550 Merge pull request #539 from ROCm-Developer-Tools/fix-tf-link
Add workaround to hipcc for build failure in tensorflow due to missin…

[ROCm/clr commit: 874af1bf7d]
2018-07-04 11:08:52 +05:30
Maneesh Gupta f70e1ad691 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/clr commit: 3b157546f9]
2018-07-04 10:51:44 +05:30
Yaxun (Sam) Liu bba741a913 Add workaround to hipcc for build failure in tensorflow due to missing symbol __cpu_model
https://github.com/tensorflow/tensorflow/issues/9593


[ROCm/clr commit: 632baba353]
2018-06-25 18:14:51 -04:00
Aaron Enye Shi a764b09a14 HIPCC - Use clang if clang++ is not compiled
[ROCm/clr commit: dc850cc3e7]
2018-06-21 18:12:55 +00:00
Aaron Enye Shi d09a2f9237 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/clr commit: 175c87f2bf]
2018-06-20 17:39:31 +00:00
Yaxun (Sam) Liu 4831cd44fc Let hipcc handle library with extension lo for hip-clang
[ROCm/clr commit: 454d45e5bb]
2018-06-19 10:51:08 -04:00
Yaxun (Sam) Liu 5efe15283b Fix handling of static library in hipcc for hip-clang
[ROCm/clr commit: fd03c8fc18]
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu 0b5fe1601c Let hipcc handle static library for hip-clang only if it contains bundles
[ROCm/clr commit: d442a57002]
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu 581de8660a Let hipcc handle library in linker response file for hip-clang
[ROCm/clr commit: 8d3e4b4475]
2018-06-08 11:14:26 -04:00
Maneesh Gupta 125f6201c8 Merge pull request #466 from ROCm-Developer-Tools/feature_use_Float16
Feature use _Float16 and match CUDA __half behaviour.

[ROCm/clr commit: 8ecb3eeb55]
2018-06-01 13:50:12 +05:30
Yaxun (Sam) Liu 859b4f218a Drop --amdgpu-target= options for hip-clang
They are replaced by --cuda-gpu-arch= options elsewhere


[ROCm/clr commit: 3609e6f3b2]
2018-05-30 06:47:44 -04:00
Yaxun (Sam) Liu c7d481a812 Add more function declarations to hip-clang
[ROCm/clr commit: 9c43970a27]
2018-05-25 16:18:46 -04:00
Alex Voicu a231cd5604 Remove vestigial inline LLVMIR.
[ROCm/clr commit: f2a86f3e1c]
2018-05-24 12:46:14 +01:00
Maneesh Gupta e8970c6de8 Merge pull request #454 from ROCm-Developer-Tools/hip-clang-hipcc
Let hipcc suport hip-clang

[ROCm/clr commit: 43ac6a61e7]
2018-05-21 09:51:42 +05:30
Yaxun (Sam) Liu ba92644beb Let hipcc suport hip-clang
[ROCm/clr commit: 55f01cbf36]
2018-05-17 14:40:15 -04:00
Siu Chi Chan 04bf6c5109 initial gfx906 support
[ROCm/clr commit: 368affcea4]
2018-05-10 19:28:00 +00:00
Maneesh Gupta 26a61d6959 Cleanup bin directory
Remove hccgenco.sh and hsa-api-filter-cxl.txt

Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79


[ROCm/clr commit: efac735621]
2018-04-04 14:31:40 +05:30
Siu Chi Chan 765f3913ce On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++
[ROCm/clr commit: 0501f6c582]
2018-03-15 16:46:01 -04:00
Maneesh Gupta 72a9e630f8 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc

[ROCm/clr commit: 72ec13ab86]
2018-03-06 11:59:44 +05:30
Alex Voicu c4d704b2ad Change directory name to match HIP lowercase style.
[ROCm/clr commit: 696f0595a3]
2018-02-22 13:15:10 +00:00
Alex Voicu 2640fdaf9f Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/clr commit: f9e7195451]
2018-01-24 12:33:45 +00:00
Evgeny Mankov 3ed079667f [HIPIFY][perl] Typo fix
[ROCm/clr commit: 87895b7d01]
2018-01-18 09:14:16 +03:00
Alex Voicu 998b5dc3fa Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/clr commit: 4d0d4dc701]
2017-12-14 13:50:49 +00:00
Phaneendr-kumar Lanka 456c44394c [nvccWarnings] Fix gpu deprecated targets warnings
[ROCm/clr commit: 7a3e0bc5d0]
2017-12-12 16:00:14 +05:30
Alex Voicu aa48cc7b55 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/clr commit: 4e0739c68a]
2017-12-08 04:22:57 +00:00