[coco] Introduce factory method for GenericKernelLayout (#1848)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 12 Oct 2018 01:59:34 +0000 (10:59 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 12 Oct 2018 01:59:34 +0000 (10:59 +0900)
commitb8c6132dfd774045fbcf0ad2cb0394b79a295838
treee1446701917673302b55203c2e2f4435b392a208
parent1690d44babe40eb5712cf7f9aee113d5c3803ff4
[coco] Introduce factory method for GenericKernelLayout (#1848)

This commit introduces factory method (create) for GenericKernelLayout,
and enforces users to construct it only via factory method.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/include/coco/IR/GenericKernelLayout.h
contrib/coco/core/src/IR.test.cpp
contrib/coco/core/src/IR/GenericKernelLayout.cpp
contrib/coco/core/src/IR/KernelObject.cpp