xref: /aosp_15_r20/external/XNNPACK/src/xx-copy/memcpy.c (revision 4bdc94577ba0e567308109d787f7fec7b531ce36)
1 // Copyright 2020 Google LLC
2 //
3 // This source code is licensed under the BSD-style license found in the
4 // LICENSE file in the root directory of this source tree.
5 
6 #include <assert.h>
7 #include <string.h>
8 
9 #include <xnnpack/common.h>
10 #include <xnnpack/vunary.h>
11 
12 
xnn_xx_copy_ukernel__memcpy(size_t size,const void * input,void * output,const void * params)13 void xnn_xx_copy_ukernel__memcpy(size_t size, const void* input, void* output, const void* params) {
14   assert(size != 0);
15 
16   memcpy(output, input, size);
17 }
18