Updated CUDA version and compatible calls

This commit is contained in:
Alberto Ramos 2022-01-07 04:19:34 +01:00
parent ed27aa6c49
commit 61af750003
7 changed files with 385 additions and 347 deletions

View file

@ -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]