Parallelizing code containing pre-processing instructions

From emmtrix Wiki
Jump to navigation Jump to search
The Advanced Options page of the preferences dialog, with KERNEL_ONLY 1 listed under Custom macros and the Add command field outlined in red
Settting a custom macro in the ePS settings

In the actual code, there are symbol definitions and conditional compilations that are tailored to the target environment and debugging situation. ePS parallelizes the code after preprocessing, so these definitions are removed. Therefore, if necessary, users need to reflect them in the parallelized code. In addition, for practical use, it is possible to define the parallelization of these pre-processing instructions under specific conditions as an ePS project in advance, and to manage the parallelized code by not including the pre-processing instructions. In this case, add a custom macro in [Preferences]->[General]->[Advanced Options] as follows.