mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-24 10:51:21 +08:00
cpu: complex scan dispatch
This commit is contained in:
parent
38f593026c
commit
c7e326bb44
@ -330,7 +330,8 @@ void Scan::eval_cpu(const std::vector<array>& inputs, array& out) {
|
|||||||
reduce_type_, in, out, axis_, reverse_, inclusive_);
|
reduce_type_, in, out, axis_, reverse_, inclusive_);
|
||||||
break;
|
break;
|
||||||
case complex64:
|
case complex64:
|
||||||
throw std::runtime_error("Scan ops do not support complex types yet");
|
scan_dispatch<complex64_t, complex64_t>(
|
||||||
|
reduce_type_, in, out, axis_, reverse_, inclusive_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user