Open Luke-Skycrawler opened 3 months ago
Hi @Luke-Skycrawler, thanks for reporting this issue and apologies for any inconvenience caused!
The intention is for vectors to be row-major, so the kernel constructor is incorrect.
I'll discuss how to best tackle this issue with the team since addressing it would cause a breaking change.
Bug Description
It seems we get different matrices depending on whether the code is inside a kernel if we construct the matrix by vectors.
We get (1, 1, 1) on the first print but (1,2,3) on the second. The matrix
a
is constructed by the rows but inside a kernel it's constructed by the columns. It would be better if they run by the same rule.System Information
No response