Skip to content

Commit 4b016f7

Browse files
committed
tidy up compiler warnings
1 parent a665a0c commit 4b016f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

common/common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,6 @@ std::string common_params_get_system_info(const common_params & params);
517517

518518
bool parse_cpu_range(const std::string & range, bool(&boolmask)[GGML_MAX_N_THREADS]);
519519
bool parse_cpu_mask(const std::string & mask, bool(&boolmask)[GGML_MAX_N_THREADS]);
520-
bool cpu_mask_set_physical_cores_only(bool(&boolmask)[GGML_MAX_N_THREADS]);
521520
void postprocess_cpu_params(cpu_params & cpuparams, const cpu_params * role_model = nullptr);
522521
bool set_process_priority(enum ggml_sched_priority prio);
523522

ggml/src/ggml-cpu/ggml-cpu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3331,6 +3331,8 @@ enum ggml_status ggml_graph_compute(struct ggml_cgraph * cgraph, struct ggml_cpl
33313331
}
33323332

33333333
enum ggml_status ggml_graph_compute_with_ctx(struct ggml_context * ctx, struct ggml_cgraph * cgraph, int n_threads) {
3334+
GGML_UNUSED(ctx);
3335+
33343336
struct ggml_cplan cplan = ggml_graph_plan(cgraph, n_threads, NULL);
33353337

33363338
// Use NUMA-aware work buffer allocation instead of ggml_new_buffer

0 commit comments

Comments
 (0)