Jorghi12
1f5303c7c3
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.
[ROCm/clr commit: 25c780c89e ]
2018-07-23 18:16:00 -04:00
Jorghi12
a05aa9d71f
Update FindHIP.cmake
...
Using Bool expression to handle empty case.
[ROCm/clr commit: 4abcf5dbc4 ]
2018-07-18 23:02:11 -04:00
Jorghi12
c4c42ce685
Update FindHIP.cmake
...
Adding another flag.
[ROCm/clr commit: 1e5552f861 ]
2018-07-12 14:17:21 -04:00
Jorghi12
89c3f89603
Update FindHIP.cmake
...
Updating placement.
[ROCm/clr commit: a484f89b34 ]
2018-07-12 13:56:08 -04:00
Jorghi12
8a2d7a25b1
Update math_functions.h
...
CUDA also has a function named labs.
[ROCm/clr commit: b33876ee4d ]
2018-05-26 16:22:10 -04:00
Jorghi12
9b43fd84d0
Update math_functions.cpp
...
CUDA also has a function named labs.
[ROCm/clr commit: 61ff40a1cf ]
2018-05-26 16:21:14 -04:00
Jorghi12
43d55a79e4
Adding double/long int signatures for abs
...
Adding overloads for abs that are found in cuda's math_functions.
[ROCm/clr commit: b127488ea9 ]
2018-05-26 00:41:24 -04:00
Jorghi12
fbbaedfdea
Adding double/long int signatures for abs
...
Adding overloads for abs that are found in cuda's math_functions.
[ROCm/clr commit: 13f37d550f ]
2018-05-26 00:40:14 -04:00