Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] Update the doc of real functions (#8412)
Issue: # ### Brief Summary <!-- copilot:summary --> ### <samp>🤖[[deprecated]](https://githubnext.com/copilot-for-prs-sunset) Generated by Copilot at 32b8bfa</samp> Add a new section on Taichi real functions and update the existing section on real function arguments and return values in `docs/lang/articles/kernels/kernel_function.md`. Fix the section title and warn about a possible bug on older NVIDIA GPUs. ### Walkthrough <!-- copilot:walkthrough --> ### <samp>🤖[[deprecated]](https://githubnext.com/copilot-for-prs-sunset) Generated by Copilot at 32b8bfa</samp> * Add a new section on Taichi real functions, explaining their concept, usage, and benefits ([link](https://github.com/taichi-dev/taichi/pull/8412/files?diff=unified&w=0#diff-305d66d1c231266cb14a0d2b166363840f782874eb6c5b3d5d4e15e08f3cb04cL299-R362)) * Update the section on Taichi real function arguments and return values, showing the new syntax and semantics for passing scalars, vectors, and matrices ([link](https://github.com/taichi-dev/taichi/pull/8412/files?diff=unified&w=0#diff-305d66d1c231266cb14a0d2b166363840f782874eb6c5b3d5d4e15e08f3cb04cL299-R362)) * Add a warning about a possible bug when passing scalars by reference on older NVIDIA GPUs, and suggest a workaround ([link](https://github.com/taichi-dev/taichi/pull/8412/files?diff=unified&w=0#diff-305d66d1c231266cb14a0d2b166363840f782874eb6c5b3d5d4e15e08f3cb04cL299-R362)) * Add an example of using recursion in a real function, demonstrating its power and flexibility ([link](https://github.com/taichi-dev/taichi/pull/8412/files?diff=unified&w=0#diff-305d66d1c231266cb14a0d2b166363840f782874eb6c5b3d5d4e15e08f3cb04cL299-R362)) * Modify the section title to match the style of the other sections, using "Kernel Functions" instead of "Kernel Function" ([link](https://github.com/taichi-dev/taichi/pull/8412/files?diff=unified&w=0#diff-305d66d1c231266cb14a0d2b166363840f782874eb6c5b3d5d4e15e08f3cb04cL299-R362)) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information