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 5fd02b0 commit f30f960Copy full SHA for f30f960
source/adapters/cuda/command_buffer.hpp
@@ -15,7 +15,7 @@
15
#include <cuda.h>
16
#include <memory>
17
18
-static auto getUrResultString = [](ur_result_t Result) {
+static inline std::string getUrResultString(ur_result_t Result) {
19
switch (Result) {
20
case UR_RESULT_SUCCESS:
21
return "UR_RESULT_SUCCESS";
@@ -156,7 +156,7 @@ static auto getUrResultString = [](ur_result_t Result) {
156
default:
157
return "UR_RESULT_ERROR_UNKNOWN";
158
}
159
-};
+}
160
161
// Trace an internal UR call; returns in case of an error.
162
#define UR_CALL(Call) \
0 commit comments