Skip to content

Commit 279ecd8

Browse files
committed
repair build
1 parent 47aee0f commit 279ecd8

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

ggml/src/ggml-et/et-kernels/src/platform.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,6 @@ static inline void atomic_store_f32(volatile float * addr, float value) {
142142
et_global_swap_w(addr, *(uint32_t *) &value);
143143
}
144144

145-
static inline void atomic_add_f32(volatile float * addr, float value) {
146-
et_global_add_w(addr, *(uint32_t *) &value);
147-
}
148-
149-
static inline void atomic_store_f16(volatile uint16_t * addr, uint16_t value) {
150-
et_global_store_hw(addr, value);
151-
}
152-
153145
// Atomic add for F32 values to global memory
154146
// Uses ET hardware's custom amoaddg.w instruction for global atomic add
155147
// This ensures correct accumulation when multiple threads contribute to the same output

ggml/src/ggml-et/ggml-et-cpu-compare.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,6 @@ bool ggml_et_cpu_compare_compute_and_check(ggml_et_cpu_compare_ctx * ct
286286
}
287287
}
288288
break;
289-
case GGML_OP_GET_ROWS:
290-
ctx->cpu_dst = ggml_get_rows(ctx->ggml_ctx, ctx->cpu_src0, ctx->cpu_src1);
291-
break;
292289
case GGML_OP_CONT:
293290
ctx->cpu_dst = ggml_cont(ctx->ggml_ctx, ctx->cpu_src0);
294291
break;
@@ -311,14 +308,6 @@ bool ggml_et_cpu_compare_compute_and_check(ggml_et_cpu_compare_ctx * ct
311308
ctx->cpu_dst = ggml_set_rows(ctx->ggml_ctx, cpu_dst_base, ctx->cpu_src0, ctx->cpu_src1);
312309
}
313310
break;
314-
case GGML_OP_RMS_NORM:
315-
// Extract epsilon parameter from op_params (stored as float)
316-
{
317-
float eps;
318-
memcpy(&eps, node->op_params, sizeof(float));
319-
ctx->cpu_dst = ggml_rms_norm(ctx->ggml_ctx, ctx->cpu_src0, eps);
320-
}
321-
break;
322311
case GGML_OP_GET_ROWS:
323312
ctx->cpu_dst = ggml_get_rows(ctx->ggml_ctx, ctx->cpu_src0, ctx->cpu_src1);
324313
break;

0 commit comments

Comments
 (0)