Skip to content

Commit daae0c0

Browse files
committed
var name
1 parent 53dc564 commit daae0c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/models/voxtral/multimodal.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,11 @@ int32_t main(int32_t argc, char** argv) {
292292
ET_LOG(Info, "Registering CUDA backend");
293293
static auto cuda_backend_impl = ::executorch::backends::cuda::CudaBackend();
294294
static auto cuda_backend = ::executorch::runtime::Backend{"CudaBackend", &cuda_backend_impl};
295-
auto error = ::executorch::runtime::register_backend(cuda_backend);
296-
if (error == ::executorch::runtime::Error::Ok) {
295+
auto register_error = ::executorch::runtime::register_backend(cuda_backend);
296+
if (register_error == ::executorch::runtime::Error::Ok) {
297297
ET_LOG(Info, "Successfully registered CudaBackend");
298298
} else {
299-
ET_LOG(Error, "Failed to register CudaBackend: error code %d", (int)error);
299+
ET_LOG(Error, "Failed to register CudaBackend: error code %d", (int)register_error);
300300
}
301301

302302
gflags::ParseCommandLineFlags(&argc, &argv, true);

0 commit comments

Comments
 (0)