TS8070
프런트엔드 코드 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.
이 커밋에는 아직 이 코드의 예제가 없습니다.
레지스트리 설명과 컴파일러 메시지는 컴파일러 원문이라 한국어 페이지에서도 영어로 둡니다.
발생 조건
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.
이 코드가 적용하는 규칙
- 규칙 8.22 테스트
- 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.
함께 보기
소스
커밋 c66579bf에서 컴파일러가 이 코드를 내는 곳입니다. 파일마다 한 줄씩 적었습니다.