หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'schedule(runtime)' : chunk_size expression is not allowed
Remarks
A value cannot be passed to the run-time parameter of the schedule clause.
Example
The following example generates C3024:
// C3024.cpp
// compile with: /openmp /link vcomps.lib
#include <stdio.h>
#include "omp.h"
int main() {
int i;
#pragma omp parallel for schedule(runtime, 10) // C3024
for (i = 0; i < 10; ++i) ;
#pragma omp parallel for schedule(runtime) // OK
for (i = 0; i < 10; ++i) ;
}