Skip to content

Commit ed2901e

Browse files
committed
why was this here
1 parent f7b7eaf commit ed2901e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

deep_core/include/deep_core/plugin_interfaces/backend_memory_allocator.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,6 @@ class BackendMemoryAllocator
101101
*/
102102
void copy_device_to_device(void * dst, const void * src, size_t bytes);
103103

104-
/**
105-
* @brief Copy data from host (CPU) to device memory - alias for copy_from_host
106-
* @param dst Destination device memory pointer
107-
* @param src Source host memory pointer
108-
* @param bytes Number of bytes to copy
109-
*/
110-
void copy_host_to_device(void * dst, const void * src, size_t bytes)
111-
{
112-
copy_from_host(dst, src, bytes);
113-
}
114-
115104
protected:
116105
/**
117106
* @brief Implementation of copy_from_host (to be overridden by backends)

0 commit comments

Comments
 (0)