[neurun] Remove OP macro of StageGenerator in backends (#4526)
author윤지영/On-Device Lab(SR)/Staff Engineer/삼성전자 <jy910.yun@samsung.com>
Tue, 5 Mar 2019 05:45:34 +0000 (14:45 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 5 Mar 2019 05:45:34 +0000 (14:45 +0900)
commit84f44935d84a2c06c6d4cd6b989dca2c7394b490
tree683a67e79199a1ef2a965d6d2c210f10a48451f6
parent8c424e26f330d0a65608a4490bdd1d602ebb5a71
[neurun] Remove OP macro of StageGenerator in backends (#4526)

The OP macro forces all operation to be implemented.
But each operation is meaningful only when the operation is actually implemented.
If backend does not have the operation, neurun can use a different backend.

Remove dummy definition and add default throw function

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
runtimes/neurun/src/backend/acl_cl/StageGenerator.cc
runtimes/neurun/src/backend/acl_cl/StageGenerator.h
runtimes/neurun/src/backend/cpu/StageGenerator.cc
runtimes/neurun/src/backend/cpu/StageGenerator.h
runtimes/neurun/src/backend/interface/IStageGenerator.h