// s32Ret = HI_MPI_SYS_MmzFlushCache(u32PhyAddr, (void *)pu32VirAddr, writeBufMax); // if (s32Ret != HI_SUCCESS) // { // SAMPLE_PRT("HI_MPI_SYS_MmzFlushCache fail,Error(%#x)\n", s32Ret); // return -1; // } stAoFrame.pVirAddr[0] = (void *)pu32VirAddr; stAoFrame...
为了保证 IVE 输入输出数据不被 CPU cahce 干扰,此时用户需要调用 HI_MPI_SYS_MmzFlushCache 接口刷 ...
HI_MPI_SYS_MmzFlushCache,seetheHiMPPV2.0MediaProcessingSoftware DevelopmentGuide. Stride:ametricconsistentwiththewidthofanimageortwo-dimensional(2D)data,as showninFigure1-1. HiSiliconProprietaryand Issue03(2015-03-19)1 Copyright©HiSiliconTechnologiesCo.,Ltd HiIVE APIReference1IntroductiontotheIVE −The...
43、he CPU has accessed a cacheable space when you call an IVE task, you need to flush data from the cache to the DDR by calling HI_MPI_SYS_MmzFlushCache. This ensures that the input data and output data of the IVE are not interfered by the CPU cache. Fors aboutHI_MPI_SYS_MmzFlus...
(query) 用户根据系统返回的 handle,调用 HI MPI IVE Query 可以否完成。及时刷 cache对 16、应算子任务是 IVE 硬件只能从 DDR 中获取数据。如果用户在调用 IVE 任务时,空间可cache 而且 CPU 曾经,为了保证 IVE 输入输出数据不被 CPU cahce 干扰,此时用户需要调用 HI MPI SYS MmzFlushCache 接口刷 cache(...
如果用户在调用IVE任务时,访问空间可cacheCPUIVECPUcahce干扰,此时用户需要调用HI_MPI_SYS_MmzFlushCache接口刷cache(详细信息请参见(stride−IVE_IMAGE_S图像数据跨度,表示图像一行以“像素”计算的单元个数,“像素”位宽可以是8bit,16bit等。1API参1概38bit有符号单通道图像,如1-2所的u32PhyAddr[0]、Semi...
如果用户在调用 IVE 任务时, 空间可 cache 且 CPU 曾经 ,为了保证 IVE 输入输出数据不被 CPU cahce 干扰,此 时用户需要调用 HI_MPI_SYS_MmzFlushCache 接口刷 cache (详细 请参见 《HiMPP Vx.y 媒体处理软件开发 》),将数据从 cache 刷到 DDR ,以供 IVE 使用。 跨度(stride ):与图像或二维数据的 ...
If the CPU has accessed a cacheable space when you call an IVE task, you need to flush data from the cache to the DDR by calling HI MPI SYS MmzFlushCache. This ensures that the input data and output data of the IVE are not interfered by the CPU cache. For detai bout HI MPI SYS ...
用户根据系统返回的handle,调用HI_MPI_IVE_Query 可以查询对应算子任务是 否完成。 及时刷cache IVE 硬件只能从DDR 中获取数据。如果用户在调用IVE 任务时,访问空间可 cache 而且CPU 曾经访问,为了保证IVE 输入输出数据不被CPU cahce 干扰,此 时用户需要调用HI_MPI_SYS_MmzFlushCache 接口刷cache(详细信息请参见 ...
在项目中可以找到caffe模型,笔者使用的是:yufacedetectnet-open-v2.prototxt和yufacedetectnet-open-v2.caffemodel。转模型前需要对prototxt文件进行修改,因为有些层nnie是不支持的。修改如下: (1)input_shape改为1*3*576*1024 (2)去掉了loc和conf的flatten、permute、concat、detection_out、PriorBox等网络层,在c...