From 6d7f36af799915bb40f3dc27640753c2eb4122e3 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Wed, 31 Jul 2019 10:07:46 +0100 Subject: [PATCH] Corrected extra bracket. --- gprMax/model_build_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gprMax/model_build_run.py b/gprMax/model_build_run.py index 71382aaa..dde372b1 100644 --- a/gprMax/model_build_run.py +++ b/gprMax/model_build_run.py @@ -553,7 +553,7 @@ def solve_gpu(currentmodelrun, modelend, G): # Initialise arrays on GPU rxcoords_gpu, rxs_gpu = gpu_initialise_rx_arrays(G) # Prepare kernel and get kernel function - kernel_store_outputs = SourceModule(kernel_template_store_outputs.substitute(REAL=cudafloattype, NY_RXCOORDS=3, NX_RXS=6, NY_RXS=G.iterations, NZ_RXS=len(G.rxs), NX_FIELDS=G.nx + 1, NY_FIELDS=G.ny + 1, NZ_FIELDS=G.nz + 1, options=compiler_opts) + kernel_store_outputs = SourceModule(kernel_template_store_outputs.substitute(REAL=cudafloattype, NY_RXCOORDS=3, NX_RXS=6, NY_RXS=G.iterations, NZ_RXS=len(G.rxs), NX_FIELDS=G.nx + 1, NY_FIELDS=G.ny + 1, NZ_FIELDS=G.nz + 1), options=compiler_opts) store_outputs_gpu = kernel_store_outputs.get_function("store_outputs") # Sources - initialise arrays on GPU, prepare kernel and get kernel functions