Skip to content

Commit 3731057

Browse files
committed
aobench: parse compiler config correctly
1 parent 8a48813 commit 3731057

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/aobench/ao_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,9 @@ int main(int argc, char **argv) {
146146
.dump_spv = true,
147147
}
148148
};
149-
CompilerConfig compiler_config = default_compiler_config();
150149

151150
cli_parse_common_args(&argc, argv);
152-
cli_parse_compiler_config_args(&compiler_config, &argc, argv);
151+
cli_parse_compiler_config_args(&args.compiler_config, &argc, argv);
153152
cli_parse_common_app_arguments(&args.common_app_args, &argc, argv);
154153

155154
bool do_host = false, do_ispc = false, do_device = false, do_all = true;

0 commit comments

Comments
 (0)