Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675899122
  • Loading branch information
Google-ML-Automation committed Sep 18, 2024
1 parent 9211481 commit c4ae62b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions xla/stream_executor/typed_kernel_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,6 @@ class TypedKernelFactory {

return Create(executor, loader_spec);
}

// Creates a kernel which can be launched with `stream.ThenLaunch(...)` from
// an LLVM IR.
static absl::StatusOr<TypedKernel<Params...>> Create(
StreamExecutor *executor, absl::string_view ir,
absl::string_view entrypoint, absl::string_view kernel_name,
absl::Span<std::string> options) {
MultiKernelLoaderSpec loader_spec(
TypedKernel<Params...>::kNumberOfParameters);
loader_spec.AddLlvmHostKernel(ir, entrypoint, kernel_name, options);

return Create(executor, loader_spec);
}
};

} // namespace stream_executor
Expand Down

0 comments on commit c4ae62b

Please sign in to comment.