mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-15 03:33:42 +02:00
Working version. Comparison with one field seem ok.
This commit is contained in:
parent
30baeade9f
commit
f0ca0bbde1
6 changed files with 85 additions and 72 deletions
|
@ -1,4 +1,4 @@
|
|||
using CUDA, Logging, StructArrays, Random
|
||||
using CUDA, Logging, StructArrays, Random, TimerOutputs
|
||||
|
||||
CUDA.allowscalar(true)
|
||||
import Pkg
|
||||
|
@ -6,7 +6,7 @@ Pkg.activate("/lhome/ific/a/alramos/s.images/julia/workspace/LatticeGPU")
|
|||
#Pkg.activate("/home/alberto/code/julia/LatticeGPU")
|
||||
using LatticeGPU
|
||||
|
||||
lp = SpaceParm{4}((64,64,64,64), (4,4,4,4))
|
||||
lp = SpaceParm{4}((16,16,16,16), (4,4,4,4))
|
||||
gp = GaugeParm(6.0, 1.0, (0.0,0.0), 2)
|
||||
sp = ScalarParm((0.2,0.3), (1.0,0.4))
|
||||
|
||||
|
@ -61,3 +61,5 @@ for i in 1:10
|
|||
push!(pl, plaquette(U,lp, gp, ymws))
|
||||
println("# Plaquette: ", pl[end], "\n")
|
||||
end
|
||||
|
||||
print_timer(linechars = :ascii)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue