Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
Matthias Werner bbfda64813 Fixes build-name bug due to reversed string() arguments in cmake. 2018-08-27 17:51:12 +02:00
Maneesh Gupta 56126838cc Merge pull request #588 from Jorghi12/patch-10
Fixing a HIP bug that causes DEBUG symbols to be dropped.
2018-08-03 08:48:56 +05:30
Maneesh Gupta 36c7670293 [FindHIP] Remove rdynamic from CMAKE_SHARED_LIBRARY_LINK_HIP_FLAGS
CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS contains -rdynamic which does not go
well with nvcc

Change-Id: I10e6d21553de0e43c6a7ae5fb3ec2418087959ff
2018-07-25 15:32:14 +05:30
Jorghi12 865b015410 Fixing a HIP bug that causes DEBUG symbols to be dropped.
I've noticed that in the generated makefiles, we'd have 

if(NOT build_configuration)
    set(build_configuration Debug)
endif()

However, only definitions with all capitals are provided. 

e.g.

set(HIP_HCC_FLAGS_DEBUG -g)

This is because of lines 442 to 448. We capitalize the configuration ${config_upper}.

This PR fixes this bug.
2018-07-23 18:16:00 -04:00
Maneesh Gupta 9e2d33c866 Fix typo in FindHIP.cmake 2018-07-23 10:39:45 +05:30
Jorghi12 2b6a736318 Update FindHIP.cmake
Using Bool expression to handle empty case.
2018-07-18 23:02:11 -04:00
Jorghi12 584e61b9f3 Update FindHIP.cmake
Adding another flag.
2018-07-12 14:17:21 -04:00
Jorghi12 341c7c4019 Update FindHIP.cmake
Updating placement.
2018-07-12 13:56:08 -04:00
Jorg Doku bfb03ca86c Support INCLUDE_DIRECTORIES & COMPILE_DEFINITIONS 2018-07-11 16:13:07 -04:00
pradeepisro f6938961b9 added option HIP_BUILD_VERBOSE to enable verbosity in HIP build 2018-06-19 13:50:24 +05:30
pradeepisro 4f0aefbd63 added changes to FindHIP.cmake which would allow us to build using ninja #467 2018-06-19 12:26:18 +05:30
Junjie Bai 03d3c6eaed Properly handle (empty) cmake generator expression 2018-06-12 23:53:18 -07:00
Yifan Sun 0aaa800109 Allow hip cmake to link libraries 2017-07-27 11:46:18 -04:00
Maneesh Gupta 5433d17e2e Merge branch 'amd-develop' into amd-master
Change-Id: I312fb9d1181733ef5160d1e993e2ae57ced0f6b3
(cherry picked from commit 88fb807af0)
2017-04-25 00:01:30 -04:00
Maneesh Gupta 12e8d635aa FindHIP: better handling for custom HCC_HOME
Change-Id: Ica267de11cde58d1e759cd1fd053b699649ea76a
2017-03-07 14:40:04 +05:30
Maneesh Gupta 470dd2fbcf FindHIP: added new macro HIP_RESET_FLAGS
Change-Id: I0af491f6689abf1c1b5691261fe1f3e61a5d916d
2017-02-27 13:11:11 +05:30
Maneesh Gupta 067ea6cc4c FindHIP: Fix bug in parsing source files and options
Change-Id: Ib1c793dd19d61b387da3f5894c4e37c66f02b753
2016-09-20 20:46:49 +05:30
Maneesh Gupta 80f75f4677 FindHIP: Fix bug in handling HIP_SOURCE_PROPERTY_FORMAT
Change-Id: I6f19c487b222039e2653a8de1930c02da64318ed
2016-09-20 14:03:51 +05:30
Maneesh Gupta 1793a7160c FindHIP: Fix formatting issues
Change-Id: I169266fe34fec1d0619b299733e9997eddc16d90
2016-09-20 12:53:55 +05:30
Maneesh Gupta a4c4be2020 FindHIP: Initial support for HIP_ADD_LIBRARY
Change-Id: Ic8b93c2a9daff2dddb3a94b62981d3a1f03afd5c
2016-09-16 10:17:27 +05:30
Maneesh Gupta 2674204ade FindHIP: determine HIP_PLATFORM at build time instead of compile time
Change-Id: Icb99d23f2874c4c15771641d7e3e91bb5c918f27
2016-09-16 10:16:34 +05:30
Maneesh Gupta c4735224df FindHIP: don't clobber CXX linker and fix some typos
Change-Id: Ie92e9d7c212491ce54f0709d291fafaeb1c479de
2016-09-07 12:38:25 +05:30
Ben Sander 75af21952c Doc update.
- Add link to new driver porting guide.
- small typo

Change-Id: Ia8e25e371e17f8b4207b99e3fdfb575e59c2ebf2
2016-09-05 09:30:16 -05:00
Maneesh Gupta b0621a4794 FindHIP: First version of re-implementation
Change-Id: I84332a0f7d89271bf9370dbcd19d893119e738f9
2016-09-02 15:07:33 +05:30
Maneesh Gupta 5a31bad821 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa 2016-04-15 12:56:31 +05:30
Ben Sander f38e63ff18 Initial commit for GPUOpen Launch 2016-01-26 20:14:33 -06:00