Граф коммитов
8 Коммитов
Автор SHA1 Сообщение Дата
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
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
Jorghi12 6e2b9d0547 Update math_functions.h
CUDA also has a function named labs.
2018-05-26 16:22:10 -04:00
Jorghi12 ec2edb2c92 Update math_functions.cpp
CUDA also has a function named labs.
2018-05-26 16:21:14 -04:00
Jorghi12 4f6904b5c7 Adding double/long int signatures for abs
Adding overloads for abs that are found in cuda's math_functions.
2018-05-26 00:41:24 -04:00
Jorghi12 4383d6c6de Adding double/long int signatures for abs
Adding overloads for abs that are found in cuda's math_functions.
2018-05-26 00:40:14 -04:00