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)13void 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