MLX
Loading...
Searching...
No Matches
gemm.h
Go to the documentation of this file.
1
// Copyright © 2025 Apple Inc.
2
3
#pragma once
4
#include "
mlx/array.h
"
5
6
namespace
mlx::core
{
7
8
template
<
typename
T>
9
void
matmul
(
10
const
array
& a,
11
const
array
& b,
12
array
& out,
13
bool
a_transposed,
14
bool
b_transposed,
15
size_t
lda,
16
size_t
ldb,
17
float
alpha,
18
float
beta);
19
20
}
// namespace mlx::core
array.h
mlx::core::array
Definition
array.h:24
mlx::core
Definition
allocator.h:7
mlx::core::matmul
void matmul(const array &a, const array &b, array &out, bool a_transposed, bool b_transposed, size_t lda, size_t ldb, float alpha, float beta)
mlx
backend
cpu
gemm.h
Generated by
1.13.2