Граф коммитов
8 Коммитов
Автор SHA1 Сообщение Дата
Jorghi12 25c780c89e 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 4abcf5dbc4 Update FindHIP.cmake
Using Bool expression to handle empty case.
2018-07-18 23:02:11 -04:00
Jorghi12 1e5552f861 Update FindHIP.cmake
Adding another flag.
2018-07-12 14:17:21 -04:00
Jorghi12 a484f89b34 Update FindHIP.cmake
Updating placement.
2018-07-12 13:56:08 -04:00
Jorghi12 b33876ee4d Update math_functions.h
CUDA also has a function named labs.
2018-05-26 16:22:10 -04:00
Jorghi12 61ff40a1cf Update math_functions.cpp
CUDA also has a function named labs.
2018-05-26 16:21:14 -04:00
Jorghi12 b127488ea9 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 13f37d550f 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