TS8070
Front-end code KERNEL_LOOP_ON_CPU
A warning on a loop of a kernel function (Rule 8.22, surface §65, proposal 0013) that the independence proof refused: the loop runs on the CPU, and the message names the line and the author's names that stop it, and the remedy.
No example is written for this code at this commit yet.
The registry text and every compiler message on these pages are the compiler's own English.
When it fires
A warning on a loop of a kernel function (Rule 8.22, surface §65, proposal 0013) that the independence proof refused: the loop runs on the CPU, and the message names the line and the author's names that stop it, and the remedy. On the function instead when its body is not the kernel call's shape. The program is correct either way.
The rule this enforces
- Rule 8.22 Test
- A kernel function is an exported function that is not an entry point and takes at least one array with no size (
array<T>); its candidate loops are theforandfor…ofstatements at the top level of its body, and no other loop is ever a candidate.
See also
Source
Where the compiler raises this code at commit 26de7be8, one line per file: