Yaxun Sam Liu
e8556388f9
Revert "hipcc should consume -mcode-object-v3 flag"
...
This reverts commit eb33507774 .
2019-02-28 11:21:47 -05:00
Yaxun Sam Liu
1bd8d24278
Revert "Change code-object flag to only HIP-Clang"
...
This reverts commit 1c6365fbe7 .
2019-02-28 11:20:04 -05:00
Yaxun Sam Liu
737972d31c
Revert "Consume the code obj args to prevent duplicates"
...
This reverts commit 2cd34f3c01 .
2019-02-28 11:19:35 -05:00
Aaron Enye Shi
2cd34f3c01
Consume the code obj args to prevent duplicates
2019-02-19 17:02:27 +00:00
Maneesh Gupta
c8579ead67
Initialize HIP_LIB_PATH on hcc path
...
Change-Id: I8f392fffcd6a3714c20cb17e876dbaad999c33a0
2019-02-13 09:57:21 +05:30
Maneesh Gupta
d91bbf881c
Merge pull request #910 from aaronenyeshi/hip-code-obj-v3-passing
...
hipcc should consume -mcode-object-v3 flag
2019-02-13 08:58:19 +05:30
Aaron Enye Shi
1c6365fbe7
Change code-object flag to only HIP-Clang
2019-02-11 17:18:12 +00:00
Maneesh Gupta
31c4a0dff1
Merge pull request #911 from lmoriche/hip_clang
...
Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_P…
2019-02-11 11:26:39 +05:30
Maneesh Gupta
61a8947d1c
Merge pull request #903 from yxsamliu/win2
...
Fix hipcc and hip_vector_types.h for windows
2019-02-11 11:24:03 +05:30
Laurent Morichetti
4eaf4b7c0a
Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_PATH for rpath instead of HIP_PATH/lib
2019-02-08 13:50:13 -08:00
Aaron Enye Shi
eb33507774
hipcc should consume -mcode-object-v3 flag
2019-02-08 18:29:14 +00:00
Aaron Enye Shi
3ad75e8d14
Add hipInfo path for VDI build
2019-02-07 22:05:14 +00:00
Yaxun Sam Liu
a474dc7579
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.
2019-02-07 11:07:50 -05:00
Maneesh Gupta
baea9f64e7
Merge pull request #898 from yxsamliu/windows
...
Add windows specific compilation options
2019-02-07 06:00:24 +05:30
Maneesh Gupta
e3d85e9ecc
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
4ff12f958c
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
52df98a5d1
Add windows specific compilation options
2019-02-05 15:31:20 -05:00
David Rohr
e04e391f3a
Use -isystem instead of -I to suppress warnings in HIP headers
2019-02-04 15:07:06 +01:00
Aaron Enye Shi
479d2d093f
Add HIP_RUNTIME for HCC or VDI
2019-02-01 22:30:30 +00:00
Aaron Enye Shi
489cef167f
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
6531262126
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
491caacff1
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
450f093231
Let hip-clang support --genco
2018-11-27 15:55:50 -05:00
Yaxun Sam Liu
9d46966a59
Let hipcc handle HIP_VDI_HOME without x86_64
2018-11-26 17:00:37 -05:00
Michael Kuron
8610128c3e
Merge branch 'master' into getsymboladdress
2018-11-20 12:03:22 +01:00
Yaxun Sam Liu
3d51a1fb01
Let hipcc handle clang-offload-bundler file in obj format for hip-clang
2018-11-08 16:50:34 -05:00
Michael Kuron
509b29594a
hipify-perl: add hipGetSymbolAddress and hipGetSymbolSize
2018-11-06 12:02:21 +01:00
Maneesh Gupta
0b86b421c1
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
817b27d530
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
283fb42604
Let hipcc handle gfx906 for hip-clang
2018-10-21 10:04:30 -04:00
Maneesh Gupta
4b754e1d77
Merge pull request #698 from yxsamliu/compile-flags
...
Add HIPCC_COMPILE_FLAGS_APPEND
2018-10-17 10:53:17 +05:30
Yaxun Sam Liu
43402d5602
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
dcc85be374
Add HIPCC_COMPILE_FLAGS_APPEND
2018-10-01 14:51:29 -04:00
Maneesh Gupta
d6ce39c1b7
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
4f17b4877e
Let hipcc link -lpthread -lm by default
2018-09-04 17:11:47 -04:00
Yaxun Sam Liu
1587b18a91
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
e658b68c14
[hipcc] Remove libhsakmt from linker flags
...
Change-Id: I6dc769d09d8c7546fbc594c1eb65f9edf0f0ff58
2018-08-14 15:31:04 +05:30
Maneesh Gupta
04dd1a8daf
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
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