Searched refs:zero_buffer (Results 1 – 13 of 13) sorted by relevance
/external/XNNPACK/src/operators/ |
D | convolution-nchw.c | 631 void* zero_buffer = xnn_reallocate_memory(convolution_op->zero_buffer, zero_size); in setup_convolution2d_nchw() local 632 if (zero_buffer == NULL) { in setup_convolution2d_nchw() 638 memset(zero_buffer, 0, zero_size); in setup_convolution2d_nchw() 639 convolution_op->zero_buffer = zero_buffer; in setup_convolution2d_nchw() 646 .zero = zero_buffer, in setup_convolution2d_nchw() 680 void* zero_buffer = xnn_reallocate_memory(convolution_op->zero_buffer, zero_size); in setup_convolution2d_nchw() local 681 if (zero_buffer == NULL) { in setup_convolution2d_nchw() 687 memset(zero_buffer, 0, zero_size); in setup_convolution2d_nchw() 688 convolution_op->zero_buffer = zero_buffer; in setup_convolution2d_nchw() 695 .zero = zero_buffer, in setup_convolution2d_nchw()
|
D | average-pooling-nhwc.c | 186 void* zero_buffer = xnn_allocate_simd_memory(zero_bytes); in xnn_create_average_pooling2d_nhwc_qu8() local 187 if (zero_buffer == NULL) { in xnn_create_average_pooling2d_nhwc_qu8() 193 memset(zero_buffer, input_zero_point, channels * sizeof(uint8_t)); in xnn_create_average_pooling2d_nhwc_qu8() 194 average_pooling_op->zero_buffer = zero_buffer; in xnn_create_average_pooling2d_nhwc_qu8() 357 void* zero_buffer = xnn_allocate_zero_simd_memory(zero_bytes); in xnn_create_average_pooling2d_nhwc_f32() local 358 if (zero_buffer == NULL) { in xnn_create_average_pooling2d_nhwc_f32() 364 average_pooling_op->zero_buffer = zero_buffer; in xnn_create_average_pooling2d_nhwc_f32() 487 .zero = average_pooling_op->zero_buffer, in setup_average_pooling2d() 590 .zero = average_pooling_op->zero_buffer, in setup_average_pooling2d() 617 .zero = average_pooling_op->zero_buffer, in setup_average_pooling2d()
|
D | global-average-pooling-nwc.c | 91 void* zero_buffer = xnn_allocate_zero_simd_memory(zero_size); in create_global_average_pooling_nwc() local 92 if (zero_buffer == NULL) { in create_global_average_pooling_nwc() 98 global_average_pooling_op->zero_buffer = zero_buffer; in create_global_average_pooling_nwc() 176 .zero = global_average_pooling_op->zero_buffer, in setup_global_average_pooling_nwc()
|
D | deconvolution-nhwc.c | 236 deconvolution_op->zero_buffer = xnn_allocate_simd_memory(zero_size); in create_deconvolution2d_nhwc() 237 if (deconvolution_op->zero_buffer == NULL) { in create_deconvolution2d_nhwc() 243 memset(deconvolution_op->zero_buffer, input_padding_byte, zero_size); in create_deconvolution2d_nhwc() 531 .zero = deconvolution_op->zero_buffer, in setup_conv_path() 708 .zero = deconvolution_op->zero_buffer, in setup_subconv2d_path()
|
D | convolution-nhwc.c | 374 convolution_op->zero_buffer = xnn_allocate_simd_memory(zero_size); in create_convolution2d_nhwc() 375 if (convolution_op->zero_buffer == NULL) { in create_convolution2d_nhwc() 381 memset(convolution_op->zero_buffer, input_padding_byte, zero_size); in create_convolution2d_nhwc() 979 .zero = convolution_op->zero_buffer, in setup_convolution2d_nhwc() 1127 .zero = convolution_op->zero_buffer, in setup_convolution2d_nhwc()
|
/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
D | alts_crypter_test.cc | 139 auto* zero_buffer = static_cast<uint8_t*>(gpr_zalloc(data_size)); in alts_crypter_test_corrupted_unseal() local 158 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal() 177 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal() 196 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal() 201 gpr_free(zero_buffer); in alts_crypter_test_corrupted_unseal() 212 auto* zero_buffer = static_cast<uint8_t*>(gpr_zalloc(data_size)); in alts_crypter_test_unsync_seal_unseal() local 236 GPR_ASSERT(memcmp(data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_unsync_seal_unseal() 260 GPR_ASSERT(memcmp(data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_unsync_seal_unseal() 263 gpr_free(zero_buffer); in alts_crypter_test_unsync_seal_unseal()
|
/external/XNNPACK/src/ |
D | operator-delete.c | 31 xnn_release_simd_memory(op->zero_buffer); in xnn_delete_operator()
|
D | indirection.c | 25 const void* zero = op->zero_buffer; in xnn_indirection_init_conv2d() 86 const void* zero = op->zero_buffer; in xnn_indirection_init_deconv2d() 142 const void* zero = op->zero_buffer; in xnn_indirection_init_subconv2d() 207 const void* zero = op->zero_buffer; in xnn_indirection_init_dwconv2d()
|
/external/XNNPACK/src/xnnpack/ |
D | operator.h | 253 void* zero_buffer; member
|
/external/XNNPACK/bench/ |
D | f16-igemm.cc | 101 convolution_op.zero_buffer = z.data(); in IGEMMBenchmark()
|
D | f16-dwconv.cc | 104 convolution_op.zero_buffer = z.data(); in DWConvBenchmark()
|
D | f32-dwconv.cc | 96 convolution_op.zero_buffer = z.data(); in DWConvBenchmark()
|
D | f32-igemm.cc | 95 convolution_op.zero_buffer = z.data(); in IGEMMBenchmark()
|