Enzyme.jl icon indicating copy to clipboard operation
Enzyme.jl copied to clipboard

BLAS rule for cblas_cdotu_sub64_

Open vchuravy opened this issue 11 months ago • 3 comments

CI on https://github.com/EnzymeAD/Enzyme.jl/pull/1852 spams

┌ Warning: Using fallback BLAS replacements for (["cblas_cdotu_sub64_"]), performance may be degraded
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/GnbhK/src/utils.jl:59
┌ Warning: Using fallback BLAS replacements for (["cblas_zdotu_sub64_"]), performance may be degraded
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/GnbhK/src/utils.jl:59

vchuravy avatar Jan 09 '25 08:01 vchuravy

Is this new? It comes from the BLAS rules testset, which I don't think is touched in that PR. Aren't the BLAS rules implemented at the LLVM/C++ level in https://github.com/EnzymeAD/Enzyme?

danielwe avatar Jan 09 '25 18:01 danielwe

It's not new it just annoyed me xD

vchuravy avatar Jan 10 '25 20:01 vchuravy

Perhaps add maxlog=1 here? And maybe also append something like "This warning is only printed once" to the message so users are aware.

https://github.com/EnzymeAD/Enzyme.jl/blob/c2973074f01760dde19ce68c48102dd99ba1ed77/src/compiler.jl#L3530

danielwe avatar Jan 22 '25 23:01 danielwe