Tao Sang 44eb207f8d Apply constexpr on global constant varaibles
When HIP_ENABLE_DEFERRED_LOADING=0, many global variables will be
referenced but they are not initialized in that early time. The patch
will use constexpr to initialze global constant varables in compile
time.

Change-Id: I9d538b7abc6a0ce700ec3332b97fc144db5fc1ef


[ROCm/clr commit: fdef6f722f]
2020-07-22 22:14:13 -04:00
S
Cur síos
Níor tugadh tuairisc
282 MiB
Teangacha
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Eile 1.1%