Closed giordano closed 2 years ago
~Out-of-boundary access seems to occur every time when α
or β
is a floating point.~ Let me check...
Typed backend works OK. I must have misunderstood some GC-related behaviors when interfacing BLIS objects.
@benchmark BLIS.TypedBackend.bli_saxpyv!(BLIS.Types.BLIS_NO_CONJUGATE, N, [a], x, 1, y, 1) setup=(T=Float32; N=100; a=randn(T); x=randn(T, N); y=randn(T, N)) evals=20
Simple reproducer:
Perhaps some variables shared with the library aren't rooted correctly?