rocr: Ensure globals are initialized at first use
When ROCr is built as a static library, global variables were often not initialized to valid values at their first use. This change addresses that problem. Change-Id: I550fa41feb3bc04b9cc686bcfb4acf2a7b651a88
Šī revīzija ir iekļauta:
1 vecāks
80da7d5ee4
revīzija
9b13bcd0ac
36 files changed
+323
-233
No files matched your search
@@ -44,7 +44,6 @@
|
||||
|
||||
namespace rocr {
|
||||
namespace core {
|
||||
std::function<void*(size_t, size_t, uint32_t, int)> BaseShared::allocate_ = nullptr;
|
||||
std::function<void(void*)> BaseShared::free_ = nullptr;
|
||||
|
||||
} // namespace core
|
||||
} // namespace rocr
|
||||
Reference in new issue
Block a user