how do you disambiguate function calls
also, can you disambiguate between these two:
i can call it splat_mul() instead
5 Replies
it works for builtin simd
maybe uses one function? implicit cast splat from
SIMD[type, 1]
to SIMD[type,simd_width]
MLIR stuff?There’s no way for the compiler to determine which one you’re attempting to call, that’s why it’s ambiguous.
how does mojo do it
There’s plenty of things they do that users can’t do right now (take the Tuple as an example) but I guess this is probably a question for @Jack Clayton.
I'm not sure what's happening here, can you show me what
type
and MY_SIMD
implementations look like?