From 550d39a4489f04076a223dfb1cde3d3daaca3372 Mon Sep 17 00:00:00 2001 From: Wang Wangwang Date: Tue, 7 Jan 2025 14:14:38 +0800 Subject: [PATCH] Update src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp Co-authored-by: River Li --- src/plugins/intel_gpu/src/runtime/ocl/ocl_memory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;