diff --git a/src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp b/src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp index c3a3f126c6ed10..9aeedd07eefe4e 100644 --- a/src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp +++ b/src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp @@ -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;