Skip to content

Commit f7910f3

Browse files
committed
SYCL: remove duplicate op_count_equal definition
1 parent b39cc2d commit f7910f3

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

ggml/src/ggml-sycl/binbcast.hpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,7 @@ static __dpct_inline__ float op_add(const float a, const float b) {
1313
}
1414

1515
static __dpct_inline__ float op_sub(const float a, const float b) {
16-
17-
static __dpct_inline__ float op_count_equal(const float a, const float b) {
18-
return (a == b) ? 1.0f : 0.0f;
19-
}
20-
21-
void ggml_sycl_count_equal(ggml_backend_sycl_context & ctx, ggml_tensor * dst);
22-
2316
return a - b;
24-
25-
static __dpct_inline__ float op_count_equal(const float a, const float b) {
26-
return (a == b) ? 1.0f : 0.0f;
27-
}
28-
29-
void ggml_sycl_count_equal(ggml_backend_sycl_context & ctx, ggml_tensor * dst);
30-
3117
}
3218

3319
static __dpct_inline__ float op_count_equal(const float a, const float b) {
@@ -36,7 +22,6 @@ static __dpct_inline__ float op_count_equal(const float a, const float b) {
3622

3723
void ggml_sycl_count_equal(ggml_backend_sycl_context & ctx, ggml_tensor * dst);
3824

39-
4025
static __dpct_inline__ float op_mul(const float a, const float b) {
4126
return a * b;
4227
}

0 commit comments

Comments
 (0)