Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] add low-level op customization #507

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion brainpy/_src/math/op_registers/numba_approach/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class XLACustomOp(BrainPyObject):
cpu_func: callable
The function defines the computation on CPU backend. Same as ``con_compute``.
gpu_func: callable
The function defines the computation on GPU backend. Currently, this function is not supportted.
The function defines the computation on GPU backend. Currently, this function is not supported.
apply_cpu_func_to_gpu: bool
Whether allows to apply CPU function on GPU backend. If True, the GPU data will move to CPU,
and after calculation, the returned outputs on CPU backend will move to GPU.
Expand Down
2 changes: 2 additions & 0 deletions docs/tutorial_advanced/3_dedicated_operators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ Brain Dynamics Dedicated Operators

.. toctree::
:maxdepth: 1

low-level_operator_customization.ipynb
Loading