diff --git a/xla/stream_executor/typed_kernel_factory.h b/xla/stream_executor/typed_kernel_factory.h index 65ed14883152e..5e81c35c7f537 100644 --- a/xla/stream_executor/typed_kernel_factory.h +++ b/xla/stream_executor/typed_kernel_factory.h @@ -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> Create( - StreamExecutor *executor, absl::string_view ir, - absl::string_view entrypoint, absl::string_view kernel_name, - absl::Span options) { - MultiKernelLoaderSpec loader_spec( - TypedKernel::kNumberOfParameters); - loader_spec.AddLlvmHostKernel(ir, entrypoint, kernel_name, options); - - return Create(executor, loader_spec); - } }; } // namespace stream_executor