Skip to content

Commit

Permalink
Remove unnecessary overridden functions; the base class already defin…
Browse files Browse the repository at this point in the history
…es them to return errors.

PiperOrigin-RevId: 660465398
  • Loading branch information
klucke authored and copybara-github committed Aug 7, 2024
1 parent 33e51bb commit ae3cf8e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions xla/backends/interpreter/executor.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,6 @@ class XlaInterpreterExecutor : public StreamExecutorCommon {
absl::Status Init() override { return absl::OkStatus(); }

int device_ordinal() const override { return device_ordinal_; };
absl::StatusOr<std::unique_ptr<Kernel>> LoadKernel(
const MultiKernelLoaderSpec &spec) override {
return absl::UnimplementedError("Not Implemented");
}
absl::Status Launch(Stream *stream, const ThreadDim &thread_dims,
const BlockDim &block_dims, const Kernel &kernel,
const KernelArgs &args) override {
return absl::UnimplementedError("Not Implemented");
}

DeviceMemoryBase Allocate(uint64_t size, int64_t memory_space) override;
void Deallocate(DeviceMemoryBase *mem) override;
Expand Down

0 comments on commit ae3cf8e

Please sign in to comment.