We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7fc269 commit fee182dCopy full SHA for fee182d
interfaces/cuda/Control.cu
@@ -22,7 +22,7 @@
22
namespace {
23
// `static` is a bit out of place here; but we treat the whole class as an effective singleton anyways
24
25
-thread_local int currentDeviceId;
+thread_local int currentDeviceId = 0;
26
}
27
28
using namespace device;
interfaces/hip/Control.cpp
ConcreteAPI::ConcreteAPI() {
interfaces/sycl/Control.cpp
@@ -12,7 +12,7 @@
12
#include <thread>
13
14
15
16
17
18
0 commit comments