Maneesh Gupta
0b32d7813e
Merge pull request #898 from yxsamliu/windows
...
Add windows specific compilation options
2019-02-07 06:00:24 +05:30
Maneesh Gupta
e8c2023b38
Merge pull request #894 from davidrohr/PR
...
Use -isystem instead of -I to suppress warnings in HIP headers
2019-02-07 05:58:47 +05:30
Maneesh Gupta
5bd2316535
Merge pull request #891 from aaronenyeshi/hip-clang-default
...
hipcc defaults to HIP-Clang if built with HIP-Clang
2019-02-07 05:58:38 +05:30
Yaxun Sam Liu
52152368c5
Add windows specific compilation options
2019-02-05 15:31:20 -05:00
David Rohr
8b8e608e63
Use -isystem instead of -I to suppress warnings in HIP headers
2019-02-04 15:07:06 +01:00
Aaron Enye Shi
869b3b6a10
Add HIP_RUNTIME for HCC or VDI
2019-02-01 22:30:30 +00:00
Aaron Enye Shi
63aad50098
hipcc defaults to HIP-Clang if built with HIP-Clang
...
Add HIP_COMPILER to hipConfig, so that HIP packages built with HIP_COMPILER for HIP-Clang will be known during runtime by hipcc. Also add default locations to check for llvm and device-libs.
2019-02-01 16:52:55 +00:00
Stanley Tsang
ca56b81ebf
Adding support in the hipify-perl tool for the HIP_SYMBOL macro, which is required for hip API calls involving a device symbol. Added more explicit mention of the HIP_SYMBOL macro in the porting guide.
2018-12-19 12:21:02 -05:00
Maneesh Gupta
a2de2a40d9
Merge pull request #776 from yxsamliu/fix-vdi-path
...
Let hipcc handle HIP_VDI_HOME without x86_64
2018-11-28 09:33:03 +05:30
Yaxun Sam Liu
988dcd1e4a
Let hip-clang support --genco
2018-11-27 15:55:50 -05:00
Yaxun Sam Liu
0e8bc94a3f
Let hipcc handle HIP_VDI_HOME without x86_64
2018-11-26 17:00:37 -05:00
Michael Kuron
e9b88711e2
Merge branch 'master' into getsymboladdress
2018-11-20 12:03:22 +01:00
Yaxun Sam Liu
8fef5618ed
Let hipcc handle clang-offload-bundler file in obj format for hip-clang
2018-11-08 16:50:34 -05:00
Michael Kuron
538a8939a6
hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize
2018-11-06 12:02:21 +01:00
Maneesh Gupta
c7f2198c6e
Merge pull request #714 from aaronenyeshi/remove-static-hip-device
...
Remove libhip_device.a static library
2018-10-31 14:08:29 +05:30
Aaron Enye Shi
ba43d1ce1b
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 .
2018-10-25 19:52:35 +00:00
Yaxun Sam Liu
1f7b924e2e
Let hipcc handle gfx906 for hip-clang
2018-10-21 10:04:30 -04:00
Maneesh Gupta
6a4aaed7f3
Merge pull request #698 from yxsamliu/compile-flags
...
Add HIPCC_COMPILE_FLAGS_APPEND
2018-10-17 10:53:17 +05:30
Yaxun Sam Liu
88768895bc
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.
2018-10-01 15:14:54 -04:00
Yaxun Sam Liu
2c361906fa
Add HIPCC_COMPILE_FLAGS_APPEND
2018-10-01 14:51:29 -04:00
Maneesh Gupta
c6d0de2c21
Merge pull request #637 from ROCm-Developer-Tools/add-pthread
...
Let hipcc link -lpthread -lm by default
2018-09-14 13:21:47 +05:30
Yaxun Sam Liu
7d1492ab61
Let hipcc link -lpthread -lm by default
2018-09-04 17:11:47 -04:00
Yaxun Sam Liu
627c179612
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.
2018-09-04 16:57:55 -04:00
Maneesh Gupta
2f5ee304f8
[hipcc] Remove libhsakmt from linker flags
...
Change-Id: I6dc769d09d8c7546fbc594c1eb65f9edf0f0ff58
2018-08-14 15:31:04 +05:30
Maneesh Gupta
695746421f
Merge pull request #616 from ROCm-Developer-Tools/hip-clang-static-lib
...
Let hipcc handle static library for hip-clang
2018-08-10 09:35:22 +05:30
Yaxun Sam Liu
2ba45a23b8
Let hipcc handle static library for hip-clang
2018-08-01 22:03:01 -04:00
Yaxun Sam Liu
b91691966f
Add HCC compatibility mode
2018-08-01 15:14:38 -04:00
Maneesh Gupta
2027675b3f
[hipcc] Initialize CUDA_PATH before printing
...
Change-Id: Ifd448b628fa4a7055f4a439ed2c817c5f11f9bef
2018-07-25 15:29:57 +05:30
Yaxun Sam Liu
555c2f9c08
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
6053c71323
Fix hipcc for -M for hip-clang
2018-07-23 09:26:42 -04:00
Yaxun Sam Liu
4627aa0085
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
a8dc1257df
Support std::complex for hip-clang
2018-07-18 00:08:04 -04:00
Aaron Enye Shi
f8109c5b06
Merge branch 'master' into hipclang-add-amdgcn-funcs
2018-07-04 17:36:08 +00:00
Maneesh Gupta
874af1bf7d
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
3b157546f9
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
632baba353
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
dc850cc3e7
HIPCC - Use clang if clang++ is not compiled
2018-06-21 18:12:55 +00:00
Aaron Enye Shi
175c87f2bf
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
454d45e5bb
Let hipcc handle library with extension lo for hip-clang
2018-06-19 10:51:08 -04:00
Yaxun (Sam) Liu
fd03c8fc18
Fix handling of static library in hipcc for hip-clang
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu
d442a57002
Let hipcc handle static library for hip-clang only if it contains bundles
2018-06-17 20:11:10 -04:00
Yaxun (Sam) Liu
8d3e4b4475
Let hipcc handle library in linker response file for hip-clang
2018-06-08 11:14:26 -04:00
Maneesh Gupta
8ecb3eeb55
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
3609e6f3b2
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
9c43970a27
Add more function declarations to hip-clang
2018-05-25 16:18:46 -04:00
Alex Voicu
f2a86f3e1c
Remove vestigial inline LLVMIR.
2018-05-24 12:46:14 +01:00
Maneesh Gupta
43ac6a61e7
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
55f01cbf36
Let hipcc suport hip-clang
2018-05-17 14:40:15 -04:00
Siu Chi Chan
368affcea4
initial gfx906 support
2018-05-10 19:28:00 +00:00
Maneesh Gupta
efac735621
Cleanup bin directory
...
Remove hccgenco.sh and hsa-api-filter-cxl.txt
Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79
2018-04-04 14:31:40 +05:30