Skip to content

Wrong matmul results. #129

@xijiang

Description

@xijiang
using LinearAlgebra, Octavian
a = rand(2, 3)
b = rand(3, 2)
matmul(a, b) # => 2nd row ~ [0, 0]
c = zeros(2, 2)
matmul!(c, a, b) # => c[2, :] ~[0, 0]

Julia Version 1.7.1
Commit ac5cc99908 (2021-12-22 19:35 UTC)
Platform Info:
OS: Linux (x86_64-redhat-linux) (fedora 35)
CPU: AMD Ryzen 9 3900X 12-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, znver2)
Environment:
JULIA_NUM_THREADS = 12

The following configuration gave the right results:

Julia Version 1.6.5
Commit 9058264a69 (2021-12-19 12:30 UTC)
Platform Info:
OS: Linux (x86_64-redhat-linux) (centos7)
CPU: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions