Open sogartar opened 1 year ago
@jpienaar @stellaraccident Another issue here regarding python bindings - let me know if we have a resource!
Added Jacques to find an owner.
@sgerrard could you perhaps see if you could see if we could flag this as an error instead?
Yes, I will take a look at this.
What happened?
I have a module function that accepts a f32 scalar. When I call it with
I get garbage.
Same thing happens if I call it with
int
.It should either raise an error or do the correct conversion.
Steps to reproduce your issue
Compile this MLIR
with
Load into the module
Run the function
This returns
1.0
when it should return4.0
.What component(s) does this issue relate to?
Python
Version information
On top of d1ae167ad685e068f55a736e2e0861e324175313.
Additional context
No response