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 5ed900e commit 62e5410Copy full SHA for 62e5410
mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
@@ -57,7 +57,7 @@
57
thread_local static int32_t defaultDevice = 0;
58
59
/// Helper method that checks environment value for debugging.
60
-bool isDebugEnabled() {
+static bool isDebugEnabled() {
61
const char *kDebugEnvironmentVariable = "MLIR_CUDA_DEBUG";
62
static bool isEnabled = getenv(kDebugEnvironmentVariable) != nullptr;
63
return isEnabled;
@@ -71,7 +71,7 @@ bool isDebugEnabled() {
71
} while (0)
72
73
// Returns default CUdevice
74
-CUdevice getDefaultCuDevice() {
+static CUdevice getDefaultCuDevice() {
75
CUdevice device;
76
CUDA_REPORT_IF_ERROR(cuDeviceGet(&device, /*ordinal=*/defaultDevice));
77
return device;
0 commit comments