在後續的平行區域,設定執行緒數目,除非藉由覆寫num_threads子句。 複製 void omp_set_num_threads( int num_threads ); 備註 其中, num_threads 在平行區域中的執行緒數目。 備註 如需詳細資訊,請參閱 3.1.1 omp_set_num_threads 函式。 範例 請參閱omp_get_num_threads的使用範例, omp_set_num_threa...
void omp_set_num_threads (intnum_threads); Parameters num_threads Must be a positive integer. Usage If thenum_threadsclause is present, then for the parallel region it is applied to, it supersedes the number of threads requested by this function or theOMP_NUM_THREADSenvironment variable. Subs...
在后续并行区域设置线程数,因此,除非重写由 num_threads 子句。 复制 void omp_set_num_threads( int num_threads ); 备注 其中, num_threads 线程数在并行区域。 备注 有关更多信息,请参见 3.1.1 omp_set_num_threads功能。 示例 有关使用示例 omp_set_num_threads参见 omp_get_num_threads。 请参见...
Sets the number of threads in subsequent parallel regions, unless overridden by a num_threads clause.Syntax複製 void omp_set_num_threads( int num_threads ); Remarkswhere,num_threads The number of threads in the parallel region.Remarks
Sets the number of threads in subsequent parallel regions, unless overridden by a num_threads clause. 複製 void omp_set_num_threads( int num_threads ); Remarks where, num_threads The number of threads in the parallel region. Remarks For more information, see 3.1.1 omp_set_num_threads ...
We use optional cookies to improve your experience on our websites, such as through social media connections, and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services will be used. You may change your...
在后续并行区域设置线程数,因此,除非重写由num_threads子句。 void omp_set_num_threads( int num_threads ); 备注 其中, num_threads 线程数在并行区域。 备注 有关更多信息,请参见3.1.1 omp_set_num_threads 函数。 示例 有关使用示例 omp_set_num_threads参见omp_get_num_threads。
共用方式為 Facebookx.comLinkedIn電子郵件 列印 omp_set_num_threads 發行項 2011/02/28 本文內容 Remarks Remarks Example See Also Sets the number of threads in subsequent parallel regions, unless overridden by anum_threadsclause. void omp_set_num_threads( int num_threads ); ...
Sets the number of threads in subsequent parallel regions, unless overridden by a num_threads clause.复制 void omp_set_num_threads( int num_threads ); Remarkswhere,num_threads The number of threads in the parallel region.RemarksFor more information, see 3.1.1 omp_set_num_threads Function....
Sets the number of threads in subsequent parallel regions, unless overridden by a num_threads clause. Copy void omp_set_num_threads( int num_threads ); Remarks where, num_threads The number of threads in the parallel region. Remarks For more information, see 3.1.1 omp_set_num_threads ...