More work in Scalar models

This commit is contained in:
Alberto Ramos 2021-10-06 18:24:55 +02:00
parent ae95a278cb
commit d62fd9fa60
4 changed files with 36 additions and 5 deletions

View file

@ -9,7 +9,7 @@
### created: Tue Oct 5 11:53:49 2021
###
function scalar_action(U, Phi, lp::SpaceParm, sp::ScalarParm, gp::GaugeParm{T}, ymws::YMworkspace{T})
function scalar_action(U, Phi, lp::SpaceParm, sp::ScalarParam, ymws::YMworkspace{T}) where {T <: AbstractFloat}
CUDA.@sync begin
CUDA.@cuda threads=lp.bsz blocks=lp.rsz krnl_act!(ymws.rm, U, Phi, sp, lp)