mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-07-23 11:20:53 -05:00
chore: add sd_ prefix to a few functions (#967)
This commit is contained in:
@@ -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