mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 09:21:16 +08:00
22 lines
346 B
C++
22 lines
346 B
C++
// Copyright © 2025 Apple Inc.
|
|
|
|
#include "mlx/backend/cpu/gemm.h"
|
|
|
|
namespace mlx::core {
|
|
|
|
template <>
|
|
void matmul<bfloat16_t>(
|
|
const array&,
|
|
const array&,
|
|
array&,
|
|
bool,
|
|
bool,
|
|
size_t,
|
|
size_t,
|
|
float,
|
|
float) {
|
|
throw std::runtime_error("[Matmul::eval_cpu] bfloat16 not supported.");
|
|
}
|
|
|
|
} // namespace mlx::core
|