We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f8ca9a commit 84f23d1Copy full SHA for 84f23d1
1 file changed
backends/cuda/runtime/cuda_backend.cpp
@@ -303,6 +303,8 @@ class ET_EXPERIMENTAL CudaBackend final
303
Error,
304
"Option %s must be a boolean.",
305
kWeightSharingAcrossMethods);
306
+ return Error::InvalidArgument;
307
+ }
308
} else if (std::strcmp(option.key, kEnableCudaGraphForMethod) == 0) {
309
if (auto* val = std::get_if<std::array<char, kMaxOptionValueLength>>(
310
&option.value)) {
0 commit comments