[custom op] Fix custom kernel configuration (#7238)
authorVladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 <v.plazun@samsung.com>
Mon, 9 Sep 2019 01:48:42 +0000 (04:48 +0300)
committer이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Mon, 9 Sep 2019 01:48:42 +0000 (10:48 +0900)
commit9879e83bb885f46f37b644ad3e2bd06266c46862
tree9819e67bceb1ed593496edf2b2cdc20cafc8aac8
parent26b3249f736b78dbfed9d39dc0e7567756a7fd01
[custom op] Fix custom kernel configuration (#7238)

Previously tensor address was accidently passed instead of tensor buffer
Correctly store userdata_size insude CustomKernel::configure

Signed-off-by: Vladimir Plazun <v.plazun@samsung.com>
runtimes/neurun/backend/cpu/KernelGenerator.cc
runtimes/neurun/core/src/backend/CustomKernel.cc