Commit Graph

8 Commits

Author SHA1 Message Date
Paul Fultz II 4da30ef9ae cherrypick from master branch
34d5719edc
4488c9a016

These are needed by MIOpen and rocBLAS.

Add __HIP_PLATFORM_HCC__ to hip::host target (#2029)

Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++ (#2035)

* Fix hip-config.cmake for CMAKE_CXX_COMPILER=g++

* Add inlineall option to hip::device in hip-config.cmake

Change-Id: Ib51f82d0b9e38d2137df65c940592413e22ba07a


[ROCm/hip commit: d568f78bdd]
2020-04-24 09:32:02 -04:00
Yaxun (Sam) Liu e83752424d Fix MIOpen build failure
This is charrypick of b5a50ec9cf
and https://github.com/ROCm-Developer-Tools/HIP/pull/2009

Fix cmake config file

Removed cmake target files under packaging directory.

Merged cmake config .in files for HIP-Clang and HCC as one.

Use cmake generated target files in both install and packaging.

This makes cmake config file consistent for make install and
make package.

Let device side malloc/free return nullptr and trap

Change-Id: I448f3ea2d4934648089bad371debc203f895cba6


[ROCm/hip commit: 88304c15e6]
2020-04-13 23:01:31 -04:00
Aaron Enye Shi 80a9f02f42 Create separate config files for hcc and clang
The state of HIP_COMPILER is not passing into config files, therefore config files cannot use if statements to determine dependency. For HIP-Clang, we should remove find_dependency(hcc), so we create separate config files depending on compiler path. This fixes issue in apps that uses hip-config.cmake.


[ROCm/hip commit: e01c53b185]
2018-09-19 18:29:56 +00:00
Aaron Enye Shi d5b8f89565 Remove few hcc specific cmake for hip-clang
[ROCm/hip commit: dbcede2ab8]
2018-08-15 21:53:20 +00:00
Paul 8643ed5ca9 Add host and device targets
[ROCm/hip commit: 516d92f4d7]
2018-04-24 14:04:24 -05:00
Paul b98e396fc9 Update for lower case hip
[ROCm/hip commit: 5dbf7e0618]
2017-02-22 15:18:38 +05:30
Paul 7831962f6d Change order of find_dependency
[ROCm/hip commit: 2e83e3a01d]
2017-02-22 15:18:11 +05:30
Maneesh Gupta 9f5ab73c4e Generate package config for cmake
Change-Id: I73a0b21361bbe29e095dc515bdc70588ec722d57


[ROCm/hip commit: db36676f5d]
2017-02-13 16:01:50 +05:30