Difference between revisions of "Function:MatMul"
From CUVI Wiki
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Performs matrix multiplication | Performs matrix multiplication | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus matMul(const CuviImage& A, | CuviStatus matMul(const CuviImage& A, | ||
const CuviImage& B, | const CuviImage& B, | ||
CuviImage& C, | CuviImage& C, | ||
const CuviStream& stream = CuviStream()) | const CuviStream& stream = CuviStream()); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
====Parameters==== | |||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 38: | Line 39: | ||
| CuviStream& | | CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
|} | |||
|} | |} | ||
===Image Type Support=== | ====Image Type Support==== | ||
{| | |||
|style="font-size:75%;"| | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 49: | Line 51: | ||
! Output | ! Output | ||
|- | |- | ||
| | | 32fc1 | ||
| | | 32fc1 | ||
| | | 32fc1 | ||
|} | |||
|} | |} | ||
====Code Example==== | |||
===Example=== | |||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 20:17, 18 October 2022
Performs matrix multiplication
Function
|
Parameters
|
Image Type Support
|
Code Example
|