mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-10 19:06:33 +00:00
chore: add sd_ prefix to a few functions (#967)
This commit is contained in:
1 parent
0743a1b3b5
commit
e4c50f1de5
6 files changed
+11
-11
No files matched your search
@@ -1306,7 +1306,7 @@ void parse_args(int argc, const char** argv, SDParams& params) {
|
||||
}
|
||||
|
||||
if (params.n_threads <= 0) {
|
||||
params.n_threads = get_num_physical_cores();
|
||||
params.n_threads = sd_get_num_physical_cores();
|
||||
}
|
||||
|
||||
if ((params.mode == IMG_GEN || params.mode == VID_GEN) && params.prompt.length() == 0) {
|
||||
|
||||
Reference in new issue
Block a user