From f95acc3e3c677bf736b72861a8504e12bfe06b66 Mon Sep 17 00:00:00 2001 From: Dongju Chae Date: Tue, 25 Feb 2020 20:14:57 +0900 Subject: [PATCH] [Option] Add the option to manage buffering 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 --- meson.build | 3 +++ meson_options.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 8a1bf42..e96986c 100644 --- a/meson.build +++ b/meson.build @@ -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') diff --git a/meson_options.txt b/meson_options.txt index 65d4b2b..feac9da 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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) -- 2.7.4