gpu_matrix_multiply
Multiply two matrices using GPU acceleration for faster computation, with an option to force CPU execution if needed.
Instructions
Multiply two matrices with GPU acceleration when beneficial.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"a": "<a>",
"b": "<b>"
},
"name": "gpu_matrix_multiply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| force_cpu | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||