Skip to content

Commit

Permalink
xe: ocl: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoursler committed Jan 3, 2025
1 parent 12a660a commit ba9c30d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions src/gpu/intel/ocl/ocl_gpu_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,16 +267,6 @@ status_t ocl_gpu_engine_t::build_program_from_source(
return status::success;
}

status_t ocl_gpu_engine_t::create_binary_from_ocl_source(xpu::binary_t &binary,
const char *code_string,
const compute::kernel_ctx_t &kernel_ctx) const {
xpu::ocl::wrapper_t<cl_program> program;
CHECK(build_program_from_source(program, code_string, kernel_ctx));

CHECK(get_ocl_program_binary(program, device(), binary));
return status::success;
}

status_t ocl_gpu_engine_t::create_kernel_from_binary(compute::kernel_t &kernel,
const xpu::binary_t &binary, const char *kernel_name) const {
xpu::ocl::wrapper_t<cl_program> program;
Expand Down
4 changes: 0 additions & 4 deletions src/gpu/intel/ocl/ocl_gpu_engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ class ocl_gpu_engine_t : public compute::compute_engine_t {
status_t create_stream(
impl::stream_t **stream, impl::stream_impl_t *stream_impl) override;

status_t create_binary_from_ocl_source(xpu::binary_t &binary,
const char *code_string,
const compute::kernel_ctx_t &kernel_ctx) const;

status_t create_kernel_from_binary(compute::kernel_t &kernel,
const xpu::binary_t &binary,
const char *kernel_name) const override;
Expand Down

0 comments on commit ba9c30d

Please sign in to comment.