Skip to content

Commit

Permalink
turn off LV test
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Aug 25, 2023
1 parent 8523cfc commit bc7950d
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions test/interpret.jl
Original file line number Diff line number Diff line change
Expand Up @@ -969,25 +969,25 @@ end
end
end

using LoopVectorization

@testset "interpolated llvmcall" begin
function f_lv!(A)
m, n = size(A)
k = 1
@turbo for j in (k + 1):n
for i in (k + 1):m
A[i, j] -= A[i, k] * A[k, j]
end
end
return A
end
A = rand(5,5)
B = copy(A)
@interpret f_lv!(A)
f_lv!(B)
@test A B
end
# using LoopVectorization

# @testset "interpolated llvmcall" begin
# function f_lv!(A)
# m, n = size(A)
# k = 1
# @turbo for j in (k + 1):n
# for i in (k + 1):m
# A[i, j] -= A[i, k] * A[k, j]
# end
# end
# return A
# end
# A = rand(5,5)
# B = copy(A)
# @interpret f_lv!(A)
# f_lv!(B)
# @test A ≈ B
# end

@testset "nargs foreigncall #560" begin
@test (@interpret string("", "pcre_h.jl")) == string("", "pcre_h.jl")
Expand Down

0 comments on commit bc7950d

Please sign in to comment.