Yaxun (Sam) Liu
0f62034e00
hip-clang: add include path for hsa headers
...
[ROCm/hip commit: c0e0ea9a12 ]
2019-04-09 15:01:50 -04:00
Yaxun Sam Liu
8d6e48820f
Change HIP dll name to amdhip64.dll on Windows
...
[ROCm/hip commit: e2bf34cd5e ]
2019-03-19 16:27:18 -04:00
Yaxun Sam Liu
d9f59b18f8
Revert "hipcc should consume -mcode-object-v3 flag"
...
This reverts commit 1a8b50e63c .
[ROCm/hip commit: e8556388f9 ]
2019-02-28 11:21:47 -05:00
Yaxun Sam Liu
e748fd2ae0
Revert "Change code-object flag to only HIP-Clang"
...
This reverts commit 17a853c277 .
[ROCm/hip commit: 1bd8d24278 ]
2019-02-28 11:20:04 -05:00
Yaxun Sam Liu
f46d2a3010
Revert "Consume the code obj args to prevent duplicates"
...
This reverts commit b19e4b5b63 .
[ROCm/hip commit: 737972d31c ]
2019-02-28 11:19:35 -05:00
Aaron Enye Shi
b19e4b5b63
Consume the code obj args to prevent duplicates
...
[ROCm/hip commit: 2cd34f3c01 ]
2019-02-19 17:02:27 +00:00
Maneesh Gupta
7094c2d28d
Initialize HIP_LIB_PATH on hcc path
...
Change-Id: I8f392fffcd6a3714c20cb17e876dbaad999c33a0
[ROCm/hip commit: c8579ead67 ]
2019-02-13 09:57:21 +05:30
Maneesh Gupta
4441aff847
Merge pull request #910 from aaronenyeshi/hip-code-obj-v3-passing
...
hipcc should consume -mcode-object-v3 flag
[ROCm/hip commit: d91bbf881c ]
2019-02-13 08:58:19 +05:30
Aaron Enye Shi
17a853c277
Change code-object flag to only HIP-Clang
...
[ROCm/hip commit: 1c6365fbe7 ]
2019-02-11 17:18:12 +00:00
Maneesh Gupta
9ab6e7b7f6
Merge pull request #911 from lmoriche/hip_clang
...
Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_P…
[ROCm/hip commit: 31c4a0dff1 ]
2019-02-11 11:26:39 +05:30
Maneesh Gupta
664796494d
Merge pull request #903 from yxsamliu/win2
...
Fix hipcc and hip_vector_types.h for windows
[ROCm/hip commit: 61a8947d1c ]
2019-02-11 11:24:03 +05:30
Laurent Morichetti
1cba0db52a
Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_PATH for rpath instead of HIP_PATH/lib
...
[ROCm/hip commit: 4eaf4b7c0a ]
2019-02-08 13:50:13 -08:00
Aaron Enye Shi
1a8b50e63c
hipcc should consume -mcode-object-v3 flag
...
[ROCm/hip commit: eb33507774 ]
2019-02-08 18:29:14 +00:00
Aaron Enye Shi
3e72d98209
Add hipInfo path for VDI build
...
[ROCm/hip commit: 3ad75e8d14 ]
2019-02-07 22:05:14 +00:00
Yaxun Sam Liu
ecfc886193
Fix hipcc and hip_vector_types.h for windows
...
Disable linux specific compilation and linking options for windows.
In hip_vector_types.h, hip-clang needs HIP's own implementation for vector types even
on windows. MSVC specific implementation is for building runtime itself, which is compiled
by MSVC.
[ROCm/hip commit: a474dc7579 ]
2019-02-07 11:07:50 -05:00
Maneesh Gupta
bbde243ed9
Merge pull request #898 from yxsamliu/windows
...
Add windows specific compilation options
[ROCm/hip commit: baea9f64e7 ]
2019-02-07 06:00:24 +05:30
Maneesh Gupta
4002165610
Merge pull request #894 from davidrohr/PR
...
Use -isystem instead of -I to suppress warnings in HIP headers
[ROCm/hip commit: e3d85e9ecc ]
2019-02-07 05:58:47 +05:30
Yaxun Sam Liu
df3b7c22a4
Add windows specific compilation options
...
[ROCm/hip commit: 52df98a5d1 ]
2019-02-05 15:31:20 -05:00
David Rohr
f20cd64d6a
Use -isystem instead of -I to suppress warnings in HIP headers
...
[ROCm/hip commit: e04e391f3a ]
2019-02-04 15:07:06 +01:00
Aaron Enye Shi
f051cd1b71
Add HIP_RUNTIME for HCC or VDI
...
[ROCm/hip commit: 479d2d093f ]
2019-02-01 22:30:30 +00:00
Aaron Enye Shi
bb14376f50
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.
[ROCm/hip commit: 489cef167f ]
2019-02-01 16:52:55 +00:00
Maneesh Gupta
36d29ab65c
Merge pull request #776 from yxsamliu/fix-vdi-path
...
Let hipcc handle HIP_VDI_HOME without x86_64
[ROCm/hip commit: 491caacff1 ]
2018-11-28 09:33:03 +05:30
Yaxun Sam Liu
95802a836b
Let hip-clang support --genco
...
[ROCm/hip commit: 450f093231 ]
2018-11-27 15:55:50 -05:00
Yaxun Sam Liu
f2c2af12b2
Let hipcc handle HIP_VDI_HOME without x86_64
...
[ROCm/hip commit: 9d46966a59 ]
2018-11-26 17:00:37 -05:00
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