We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9b80e1 commit 61b3bdbCopy full SHA for 61b3bdb
unified-runtime/source/adapters/cuda/adapter.hpp
@@ -20,10 +20,8 @@
20
#include <memory>
21
#include <mutex>
22
23
-struct ur_platform_handle_t_;
24
-
25
struct ur_adapter_handle_t_ {
26
- std::atomic<uint32_t> RefCount = 0;
+ std::atomic<uint32_t> RefCount = 1;
27
std::mutex Mutex;
28
struct cuda_tracing_context_t_ *TracingCtx = nullptr;
29
logger::Logger &logger;
0 commit comments