代码搜索:Parallel
找到约 6,530 项符合「Parallel」的源代码
代码结果 6,530
www.eeworm.com/read/366702/2877265
f90 a.35.5.f90
! { dg-do compile }
SUBROUTINE WRONG5(N)
INTEGER N
!$OMP PARALLEL DEFAULT(SHARED)
!$OMP CRITICAL
CALL WORK(N,1)
! incorrect nesting of barrier region in a critical region
!$OM
www.eeworm.com/read/366702/2877266
f90 a.35.3.f90
! { dg-do compile }
SUBROUTINE WRONG3(N)
INTEGER N
INTEGER I
!$OMP PARALLEL DEFAULT(SHARED)
!$OMP DO
DO I = 1, N
! incorrect nesting of regions
!$OMP SINGLE !
www.eeworm.com/read/366702/2877285
f90 a.23.5.f90
! { dg-do compile }
SUBROUTINE A23_5_WRONG()
COMMON /C/ X,Y
! Incorrect: common block C cannot be declared both
! shared and private
!$OMP PARALLEL PRIVATE (/C/), SHARED(/C/)
www.eeworm.com/read/366702/2877292
f90 a.35.6.f90
! { dg-do compile }
SUBROUTINE WRONG6(N)
INTEGER N
!$OMP PARALLEL DEFAULT(SHARED)
!$OMP SINGLE
CALL WORK(N,1)
! incorrect nesting of barrier region in a single region
!$O
www.eeworm.com/read/366702/2883493
c sharing-3.c
/* { dg-do compile } */
#define N 50
#define CHUNKSIZE 5
main ()
{
int i, chunk;
float c[N];
chunk = CHUNKSIZE;
#pragma omp parallel for shared (c, chunk) schedule (dynamic, chunk)
www.eeworm.com/read/366702/2883504
c a.35.6.c
/* { dg-do compile } */
void
wrong6 (int n)
{
#pragma omp parallel
{
#pragma omp single
{
work (n, 0);
/* incorrect nesting of barrier region in a single region */
#pragma omp barrier
www.eeworm.com/read/366702/2883515
c a.35.5.c
/* { dg-do compile } */
void
wrong5 (int n)
{
#pragma omp parallel
{
#pragma omp critical
{
work (n, 0);
/* incorrect nesting of barrier region in a critical region */
#pragma omp barrier
www.eeworm.com/read/366702/2883524
c a.9.1.c
/* { dg-do compile } */
void XAXIS ();
void YAXIS ();
void ZAXIS ();
void
a9 ()
{
#pragma omp parallel sections
{
#pragma omp section
XAXIS ();
#pragma omp section
YAXIS ();
#pragma omp sec
www.eeworm.com/read/415793/11053872
vhd components.vhd
LIBRARY ieee ;
USE ieee.std_logic_1164.all ;
PACKAGE components IS
-- n-bit left-to-right shift register with parallel load and enable
COMPONENT shiftrne
GENERIC ( N : INTEGER := 4 ) ;
www.eeworm.com/read/267316/11183424
cpp parallelportapp.cpp
// ParallelPortApp.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "ParallelPortApp.h"
#include "parallel.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#unde