Home
last modified time | relevance | path

Searched refs:transfer_buffer (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dstrided_slice_infer.c62 …esInputNotExist(const TensorC *const *inputs, struct StridedSliceTransferBuffer *transfer_buffer) { in HandleAxesInputNotExist() argument
72 transfer_buffer->ndim_ = GetElementNum(begin_tensor); in HandleAxesInputNotExist()
73 for (int i = 0; i < (size_t)(transfer_buffer->ndim_); ++i) { in HandleAxesInputNotExist()
74 ShapePush(transfer_buffer->begins_, &transfer_buffer->begins_size_, begin_data[i]); in HandleAxesInputNotExist()
75 ShapePush(transfer_buffer->ends_, &transfer_buffer->ends_size_, end_data[i]); in HandleAxesInputNotExist()
76 ShapePush(transfer_buffer->strides_, &transfer_buffer->strides_size_, stride_data[i]); in HandleAxesInputNotExist()
202 void Bit2Vector(StridedSliceTransferBuffer *transfer_buffer, const StridedSliceParameter *param) { in Bit2Vector() argument
203 for (unsigned i = 0; i < (unsigned)(size_t)(transfer_buffer->ndim_); i++) { in Bit2Vector()
204 transfer_buffer->begins_mask_[i] = (unsigned)(param->begins_mask_) & (1 << i); in Bit2Vector()
205 transfer_buffer->ends_mask_[i] = (unsigned)(param->ends_mask_) & (1 << i); in Bit2Vector()
[all …]
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c1153 urb->transfer_buffer = (void *)(urb->setup_packet + in usb_alloc_urb()
1485 usb_dma_cache_invalid(urb->transfer_buffer,urb->actual_length); in usb_linux_complete()
1538 USB_ADD_BYTES(urb->transfer_buffer, in usb_linux_isoc_callback()
1602 usbd_xfer_set_frame_data(xfer, 0, urb->transfer_buffer, 0); in usb_linux_isoc_callback()
1615 USB_ADD_BYTES(urb->transfer_buffer, in usb_linux_isoc_callback()
1778 urb->bsd_data_ptr = urb->transfer_buffer; in usb_linux_non_isoc_callback()
1865 urb->transfer_buffer = buf; in usb_fill_bulk_urb()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dusb.h244 void *transfer_buffer; /* (in) associated data buffer */ member