We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ef7b0 commit f52fd50Copy full SHA for f52fd50
1 file changed
content/cupy.md
@@ -710,15 +710,16 @@ on the kernel invocation, only the input arguments
710
are used to determine the type.
711
712
```
713
-my_kernel_generic = cp.ElementwiseKernel(
+my_kernel_generic2 = cp.ElementwiseKernel(
714
'X x, Y y',
715
'Z z',
716
'z = (x - y) * (x - y)',
717
- 'my_kernel_generic')
+ 'my_kernel_generic2')
718
719
-################## FIXME: check this
+
720
:::{note}
721
-This kernel requires the output argument to be explicitly specified,
+This above kernel, i.e. `my_kernel_generic2`,
722
+requires the output argument to be explicitly specified,
723
because the type Z cannot be automatically determined from
724
the input arguments X and Y.
725
:::
0 commit comments