User Guide
nmodl::codegen::ShadowUseStatement Class Reference

Represents ion write statement during code generation. More...

Detailed Description

Represents ion write statement during code generation.

Ion update statement needs use of shadow vectors for certain backends as atomics operations are not supported on cpu backend.

Todo:
If shadow_lhs is empty then we assume shadow statement not required

Definition at line 166 of file codegen_cpp_visitor.hpp.

#include <codegen_cpp_visitor.hpp>

Public Attributes

std::string lhs
 
std::string op
 
std::string rhs
 

Member Data Documentation

◆ lhs

std::string nmodl::codegen::ShadowUseStatement::lhs

Definition at line 167 of file codegen_cpp_visitor.hpp.

◆ op

std::string nmodl::codegen::ShadowUseStatement::op

Definition at line 168 of file codegen_cpp_visitor.hpp.

◆ rhs

std::string nmodl::codegen::ShadowUseStatement::rhs

Definition at line 169 of file codegen_cpp_visitor.hpp.


The documentation for this class was generated from the following file: