Skip to content

Conversation

chriselrod
Copy link
Collaborator

This is useful code to be able to run.

Also, @DilumAluthge, it contains an example of calling Octavian.matmul_pack_A_and_B! directly. Might be worth copying the function matmul_pack_ab! into the test suit:

function matmul_pack_ab!(C, A, B, ::Val{W₁}, ::Val{W₂}, ::Val{R₁}, ::Val{R₂}) where {W₁, W₂, R₁, R₂}
    M, N = size(C); K = size(B,1)
    zc, za, zb = Octavian.zstridedpointer.((C,A,B))
    nspawn = min(Threads.nthreads(), VectorizationBase.NUM_CORES)
    @elapsed(
        Octavian.matmul_pack_A_and_B!(
            zc, za, zb, StaticInt{1}(), StaticInt{0}(), M, K, N, nspawn,
            StaticFloat{W₁}(), StaticFloat{W₂}(), StaticFloat{R₁}(), StaticFloat{R₂}()
        )
    )
end

@codecov
Copy link

codecov bot commented Jan 20, 2021

Codecov Report

Merging #55 (8540166) into master (47f896d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #55   +/-   ##
=======================================
  Coverage   41.20%   41.20%           
=======================================
  Files          12       12           
  Lines         716      716           
=======================================
  Hits          295      295           
  Misses        421      421           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47f896d...8540166. Read the comment docs.

@chriselrod chriselrod merged commit 508ca9d into master Jan 20, 2021
@chriselrod chriselrod deleted the tilesearch branch January 20, 2021 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants