Skip to content

Commit

Permalink
Update src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: River Li <[email protected]>
  • Loading branch information
WeldonWangwang and riverlijunjie authored Jan 7, 2025
1 parent fc4964c commit 550d39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct gpu_buffer : public lockable_gpu_mem, public memory {
return _buffer;
}
void* buffer_ptr() const override {
return _buffer.get();
return get_buffer().get();
}

event::ptr copy_from(stream& stream, const void* data_ptr, size_t src_offset, size_t dst_offset, size_t size, bool blocking) override;
Expand Down

0 comments on commit 550d39a

Please sign in to comment.