How to Use the Header File on Which Tiling Depends

The Scalar Unit of the AI processor has limited execution capability. Therefore, to reduce scalar computations on the operator kernel, some computations are executed on the host. In this case, you need to compile the tiling code on the host. Note that the dependent header file needs to be imported when the tiling API of the high-level APIs is called or the tiling structure parameter of the high-level APIs is used in the program. In different tiling implementation modes, the details are as follows: