Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Nov 4, 2024
1 parent 58b2c53 commit 4651c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/ReactantExtra/API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ extern "C" ifrt::LoadedExecutable* ifrt_compiler_compile_with_topology(ifrt::Com
// apparently ifrt::CompileOptions is a legacy artifact so we don't use it and set directly to the default
auto options = std::make_unique<ifrt::CompileOptions>();
auto program_ptr = std::make_unique<ifrt::Program>(*program);
auto exec_ptr = xla::ValueOrThrow(compiler->Compile(std::move(program_ptr), *topology, options)).release();
auto exec_ptr = xla::ValueOrThrow(compiler->Compile(std::move(program_ptr), *topology, std::move(options))).release();
return exec_ptr;
}

Expand Down

0 comments on commit 4651c8f

Please sign in to comment.