We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在海思的板子上运行模型 编译出的TNNtest 能够调用ARM和opencl 正常运行,有个奇怪的是GPU运行比4个线程CPU运行慢
自己写的程序 能够运行在将device_type 设置成ARM时成功运行 但是设置成OPENCL时运行出错。
报错信息: ` [1764]: unhandled level 1 translation fault (11) at 0x2b0000002f, esr 0x92000005 pgd = ffffffc03fc7c000 [2b0000002f] *pgd=0000000000000000, *pud=0000000000000000
CPU: 1 PID: 1764 Comm: dot_tnn Tainted: P O 4.9.37 #1 Hardware name: Hisilicon HI3559AV100 DEMO Board (DT) task: ffffffc040716000 task.stack: ffffffc035fb0000 PC is at 0x7f9c27663c LR is at 0x7fac9d1d28 pc : [<0000007f9c27663c>] lr : [<0000007fac9d1d28>] pstate: 60000000 sp : 0000007fd66f3270 x29: 0000007fd66f3270 x28: 3fffffffffffffff x27: 0000000000aa31a0 x26: 0000007fd66f3650 x25: 0000007fd66f35a0 x24: 0000000001e90ce0 x23: 0000000002145cc0 x22: 00000000025409c0 x21: 0000007fd66f3688 x20: 0000000000000003 x19: 0000000000000002 x18: 0000000000000000 x17: 0000007facb072c0 x16: 0000007facae0338 x15: 0000000000000c26 x14: 0000000000000000 x13: ffffffffffff0000 x12: 0000000000000000 x11: 0000000000000010 x10: 0101010101010101 x9 : 0000000002027090 x8 : 0000000000000000 x7 : 0000007f9c276628 x6 : 0000000000000006 x5 : 0000007f9c276628 x4 : 0000002b00000027 x3 : 00000000021c20c0 x2 : 0000000000000008 x1 : 0000000000000002 x0 : 00000000020af600
Segmentation fault `
The text was updated successfully, but these errors were encountered:
是因为 构造mat类时 选择的device type错误 设置不同的devicetype时只需用更改 network_config.device_type = device_type_即可 构造输入输出矩阵时不需用改. arm中
Sorry, something went wrong.
No branches or pull requests
在海思的板子上运行模型
编译出的TNNtest 能够调用ARM和opencl 正常运行,有个奇怪的是GPU运行比4个线程CPU运行慢
自己写的程序 能够运行在将device_type 设置成ARM时成功运行 但是设置成OPENCL时运行出错。
报错信息:
`
[1764]: unhandled level 1 translation fault (11) at 0x2b0000002f, esr 0x92000005
pgd = ffffffc03fc7c000
[2b0000002f] *pgd=0000000000000000, *pud=0000000000000000
CPU: 1 PID: 1764 Comm: dot_tnn Tainted: P O 4.9.37 #1
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc040716000 task.stack: ffffffc035fb0000
PC is at 0x7f9c27663c
LR is at 0x7fac9d1d28
pc : [<0000007f9c27663c>] lr : [<0000007fac9d1d28>] pstate: 60000000
sp : 0000007fd66f3270
x29: 0000007fd66f3270 x28: 3fffffffffffffff
x27: 0000000000aa31a0 x26: 0000007fd66f3650
x25: 0000007fd66f35a0 x24: 0000000001e90ce0
x23: 0000000002145cc0 x22: 00000000025409c0
x21: 0000007fd66f3688 x20: 0000000000000003
x19: 0000000000000002 x18: 0000000000000000
x17: 0000007facb072c0 x16: 0000007facae0338
x15: 0000000000000c26 x14: 0000000000000000
x13: ffffffffffff0000 x12: 0000000000000000
x11: 0000000000000010 x10: 0101010101010101
x9 : 0000000002027090 x8 : 0000000000000000
x7 : 0000007f9c276628 x6 : 0000000000000006
x5 : 0000007f9c276628 x4 : 0000002b00000027
x3 : 00000000021c20c0 x2 : 0000000000000008
x1 : 0000000000000002 x0 : 00000000020af600
Segmentation fault
`
The text was updated successfully, but these errors were encountered: