[Option] Add the option to manage buffering
authorDongju Chae <dongju.chae@samsung.com>
Tue, 25 Feb 2020 11:14:57 +0000 (20:14 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Thu, 5 Mar 2020 07:58:48 +0000 (16:58 +0900)
This commit adds the option to manage buffering.
We are going to move the duty of scheduling to kernel driver.
This option will handle this.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
meson.build
meson_options.txt

index 8a1bf42..e96986c 100644 (file)
@@ -59,6 +59,9 @@ endif
 if get_option('enable_data_manip')
   add_project_arguments('-DENABLE_MANIP', language: ['c', 'cpp'])
 endif
+if get_option('enable_buffering')
+  add_project_arguments('-DENABLE_BUFFERING', language: ['c', 'cpp'])
+endif
 
 subdir('src')
 subdir('tests')
index 65d4b2b..feac9da 100644 (file)
@@ -4,3 +4,4 @@ option('working_dir', type : 'string', value : '/tmp/')
 option('log_dir', type : 'string', value : '/tmp/')
 option('enable_npu_emul', type : 'boolean', value : false)
 option('enable_data_manip', type : 'boolean', value : false)
+option('enable_buffering', type : 'boolean', value : false)