mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-15 03:33:42 +02:00
Updated CUDA version and compatible calls
This commit is contained in:
parent
ed27aa6c49
commit
61af750003
7 changed files with 385 additions and 347 deletions
|
@ -64,7 +64,7 @@ end
|
|||
|
||||
function krnl_Dw!(so, U, si, m0, th, lp::SpaceParm{4,6,B,D}) where {B,D}
|
||||
|
||||
b, r = assign_thx()
|
||||
b = Int64(CUDA.threadIdx().x); r = Int64(CUDA.blockIdx().x)
|
||||
|
||||
# For SF:
|
||||
# - cttilde affects mass term at x0 = a, T-a
|
||||
|
@ -85,7 +85,7 @@ end
|
|||
|
||||
function krnl_g5Dw!(so, U, si, m0, th, lp::SpaceParm{4,6,B,D}) where {B,D}
|
||||
|
||||
b, r = assign_thx()
|
||||
b = Int64(CUDA.threadIdx().x); r = Int64(CUDA.blockIdx().x)
|
||||
|
||||
@inbounds begin
|
||||
so[b,r] = (4+m0)*si[b,r]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue