char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Neo Zhang[SYCL] Add OP im2col_3d (#22903)7d442abf5

char/aliceai-t5-moe
611 B23 linesraw
1//
2// MIT license
3// Copyright (C) 2026 Intel Corporation
4// SPDX-License-Identifier: MIT
5//
6
7//
8// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
9// See https://llvm.org/LICENSE.txt for license information.
10// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11//
12
13#ifndef GGML_SYCL_IM2COL_HPP
14#define GGML_SYCL_IM2COL_HPP
15
16#include "common.hpp"
17
18#define SYCL_IM2COL_BLOCK_SIZE 256
19
20void ggml_sycl_op_im2col(ggml_backend_sycl_context & ctx, ggml_tensor * dst);
21void ggml_sycl_op_im2col_3d(ggml_backend_sycl_context & ctx, ggml_tensor * dst);
22
23#endif // GGML_SYCL_IM2COL_HPP