Skip to content

Commit

Permalink
Make version check static.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored May 23, 2024
1 parent 1c76587 commit a63aea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/host/linalg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ function generic_matmatmul!(C::AbstractArray{R}, A::AbstractArray{T}, B::Abstrac
C
end

if VERSION < v"1.12.0-"
@static if VERSION < v"1.12.0-"
function LinearAlgebra.generic_matvecmul!(C::AbstractGPUVector, tA::AbstractChar, A::AbstractGPUMatrix, B::AbstractGPUVector, _add::MulAddMul = MulAddMul())
generic_matmatmul!(C, wrap(A, tA), B, _add)
end
Expand Down

0 comments on commit a63aea8

Please sign in to comment.