[ggma] Refactor GGMA API implementation#16260
Conversation
d3455a8 to
673f27b
Compare
673f27b to
f02d8c1
Compare
|
@glistening Not related with this PR, but |
We have duplicated
It will get another duplications for every new tools or something uses nnfw APIs. I think it is benefitial to provide If you think it is a burdeb, we may move |
Because they are test tools, they are not effects to SE score. If we want to reduce duplication of |
Yes, we can ignore the score for test tools. But test tool is just an example of our API use case. The duplication - specifically the tedious and repetitive error checking - occurs across all API use cases.
It only helps the internal tools developers. However, it is likely there is not much users at this moment. |
Refactoring is done while introducing tokenize module.. - Use Camel-style file name for internal files It is the same way of onert. (e.g. context.h -> Context.h) - Move common macro to ggma_macro - All ggma-api-header dependency is in ggma_*.cc - Internal files doesn't know ggma_types any longer. ONE-DCO-1.0-Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
f02d8c1 to
b062ca9
Compare
| { \ | ||
| exit(-1); \ | ||
| } \ | ||
| } while (0) |
There was a problem hiding this comment.
It will be under ggma_run.cc.
Then, it will be in tests/tools/libs for two or more tools.
Then, it will be in public header if other use cases occurrs.
Refactoring is done while introducing tokenize module..
ONE-DCO-1.0-Signed-off-by: Sanggyu Lee sg5.lee@samsung.com