From 5cd65335ff5911cbb26f7c7f145cd1a60866a70e Mon Sep 17 00:00:00 2001 From: Pooja Babu Date: Mon, 29 Jan 2024 17:07:00 +0100 Subject: [PATCH] Fix compilation errros --- .../codegeneration/nest_gpu_code_generator.py | 23 +++++++++++++++++++ .../point_neuron/@NEURON_NAME@.cu.jinja2 | 8 ++++++- .../@NEURON_NAME@_kernel.h.jinja2 | 4 ++-- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/pynestml/codegeneration/nest_gpu_code_generator.py b/pynestml/codegeneration/nest_gpu_code_generator.py index 573929fde..29b67d573 100644 --- a/pynestml/codegeneration/nest_gpu_code_generator.py +++ b/pynestml/codegeneration/nest_gpu_code_generator.py @@ -59,6 +59,7 @@ def replace_text_between_tags(filepath, replace_str, begin_tag="// < 0 ) ? V_reset : MIN(V_m, V_peak); @@ -52,7 +52,7 @@ __device__ // Adaptation current w. dwdt = (a*(V - E_L) - w) / tau_w; dI_syn_exdt = -I_syn_ex / tau_syn_ex; - dI_syn_indt = -I_syn_in / tau_syn_in; + dI_syn_indt = -I_syn_in / tau_syn_in; #} } template //, class DataStruct>