SPRUI04F july 2015 – april 2023
The following pragma directives tell the compiler how to treat a certain function, object, or section of code.
Additional pragmas are provided to support the OpenMP API (see Section 8.10.1). For descriptions of these pragmas, see the TI OpenMP Accelerator Model online documentation.
Most pragmas apply to functions. Except for the DATA_MEM_BANK pragma, the arguments func and symbol cannot be defined or declared inside the body of a function. You must specify the pragma outside the body of a function, and pragma specifications must occur before any declaration, definition, or reference to the func or symbol argument. If you do not follow these rules, the compiler issues a warning and may ignore the pragma.
For pragmas that apply to functions or symbols, the syntax differs between C and C++.