jefferyzhang 发表于 2021-11-8 17:31
都可以用,fd 、物理地址、虚拟地址 356x的 rknn都能吃。
bob286 发表于 2021-11-9 10:20
那 input_mems[0]->virt_addr 和 output_mems[0]->virt_addr 这两个地址记录下来,每次通过这两个指针更 ...
jefferyzhang 发表于 2021-11-9 11:27
怎么用是看你代码怎么写的。
虚拟地址和fd需要访问mmu,物理地址直接硬件可用,虚拟地址有cache,cpu读写 ...
- 0.703769, 0.695992, 0.303281, 0.295505, 0.00388822, 0.244958, 0.532687, 0.684327, 0.37327, 0.295505, 0.00388822, 0.186635, 0.454922, 0.664886, 0.478252, 0.295505, 0.00388822, 0.17497, 0.412152, 0.664886, 0.552128, 0.295505, 0.00388822, 0.151641, 0.509357, 0.695992, 0.637669, 0.303281, 0.00388822, 0.151641, 0.606563, 0.703769, 0.703769, 0.303281, 0.00388822, 0.139976, 0.532687, 0.703769, 0.684327, 0.303281, 0.00388822, 0.124423, 0.544351, 0.695992, 0.664886, 0.303281, 0.00388822, 0.116647, 0.552128, 0.684327, 0.664886, 0.303281, 0.00388822, 0.101094, 0.563793, 0.676551, 0.664886, 0.295505, 0.00388822, 0.0933174, 0.563793, 0.676551, 0.645445, 0.295505
复制代码
- 0.800974, 0.793198, 0.828192, 0.839856, 0.83208, 0.820415, 0.83208, 0.820415, 0.812639, 0.808751, 0.793198, 0.808751, 0.800974, 0.820415, 0.828192, 0.828192, 0.843745, 0.820415, 0.812639, 0.800974, 0.793198, 0.793198, 0.800974, 0.800974, 0.820415, 0.820415, 0.808751, 0.769868, 0.754315, 0.769868, 0.808751, 0.812639, 0.777645, 0.808751, 0.820415, 0.808751, 0.785421, 0.785421, 0.808751, 0.87485, 0.762092, 0.703769, 0.730986, 0.762092, 0.72321, 0.676551, 0.703769, 0.703769, 0.322723, 0.322723, 0.322723, 0.322723, 0.322723, 0.322723, 0.322723, 0.322723, 0.828192, 0.812639, 0.785421, 0.730986, 0.703769, 0.695992, 0.703769, 0.703769
复制代码
bob286 发表于 2021-11-9 15:02
现在是遇到了一个数值错误的问题,平时都是对的,但偶尔出现一次,就会数值错误。具体的使用方法就是每次 ...
jefferyzhang 发表于 2021-11-9 15:08
这个你可以自己先定位下,取出前memset 0下,排除是上一次的结果。
如果确定是本次算错的,DUMP下每一层 ...
jefferyzhang 发表于 2021-11-9 15:08
这个你可以自己先定位下,取出前memset 0下,排除是上一次的结果。
如果确定是本次算错的,DUMP下每一层 ...
欢迎光临 Toybrick (https://t.rock-chips.com/) | Powered by Discuz! X3.3 |