[v0.21] Add verbose option. Fix CUDA driver initialization message when verbose output is used

This commit is contained in:
Dr-Noob
2021-12-27 22:35:47 +01:00
parent 59f2715149
commit 8fbf97c47a
8 changed files with 35 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ enum {
ARG_GPU,
ARG_LIST,
ARG_HELP,
ARG_VERBOSE,
ARG_VERSION
};
@@ -34,6 +35,7 @@ bool parse_args(int argc, char* argv[]);
bool show_help();
bool list_gpus();
bool show_version();
bool verbose_enabled();
void free_colors_struct(struct color** cs);
int get_gpu_idx();
struct color** get_colors();