Skip to content

Commit f52fd50

Browse files
committed
update example and remove FIXME
1 parent b7ef7b0 commit f52fd50

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

content/cupy.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -710,15 +710,16 @@ on the kernel invocation, only the input arguments
710710
are used to determine the type.
711711

712712
```
713-
my_kernel_generic = cp.ElementwiseKernel(
713+
my_kernel_generic2 = cp.ElementwiseKernel(
714714
'X x, Y y',
715715
'Z z',
716716
'z = (x - y) * (x - y)',
717-
'my_kernel_generic')
717+
'my_kernel_generic2')
718718
```
719-
################## FIXME: check this
719+
720720
:::{note}
721-
This kernel requires the output argument to be explicitly specified,
721+
This above kernel, i.e. `my_kernel_generic2`,
722+
requires the output argument to be explicitly specified,
722723
because the type Z cannot be automatically determined from
723724
the input arguments X and Y.
724725
:::

0 commit comments

Comments
 (0)