<s>
OpenHMPP	B-Application
(	O
HMPP	O
for	O
Hybrid	O
Multicore	O
Parallel	B-Operating_System
Programming	I-Operating_System
)	O
-	O
programming	O
standard	O
for	O
heterogeneous	O
computing	O
.	O
</s>
<s>
Based	O
on	O
a	O
set	O
of	O
compiler	O
directives	O
,	O
standard	O
is	O
a	O
programming	O
model	O
designed	O
to	O
handle	O
hardware	B-General_Concept
accelerators	I-General_Concept
without	O
the	O
complexity	O
associated	O
with	O
GPU	B-Architecture
programming	I-Architecture
.	O
</s>
<s>
This	O
approach	O
based	O
on	O
directives	O
has	O
been	O
implemented	O
because	O
they	O
enable	O
a	O
loose	O
relationship	O
between	O
an	O
application	O
code	O
and	O
the	O
use	O
of	O
a	O
hardware	B-General_Concept
accelerator	I-General_Concept
(	O
HWA	O
)	O
.	O
</s>
<s>
The	O
OpenHMPP	B-Application
directive-based	O
programming	O
model	O
offers	O
a	O
syntax	O
to	O
offload	O
computations	O
on	O
hardware	B-General_Concept
accelerators	I-General_Concept
and	O
to	O
optimize	O
data	O
movement	O
to/from	O
the	O
hardware	O
memory	O
.	O
</s>
<s>
OpenHMPP	B-Application
is	O
based	O
on	O
the	O
concept	O
of	O
codelets	O
,	O
functions	O
that	O
can	O
be	O
remotely	O
executed	O
on	O
HWAs	O
.	O
</s>
<s>
It	O
is	O
a	O
pure	B-Application
function	I-Application
.	O
</s>
<s>
Every	O
function	O
call	O
must	O
refer	O
to	O
a	O
static	B-General_Concept
pure	B-Application
function	I-Application
(	O
no	O
function	O
pointers	O
)	O
.	O
</s>
<s>
It	O
does	O
not	O
return	O
any	O
value	O
(	O
void	O
function	O
in	O
C	B-Language
or	O
a	O
subroutine	O
in	O
Fortran	B-Application
)	O
.	O
</s>
<s>
it	O
can	O
not	O
be	O
a	O
variadic	B-Language
function	I-Language
as	O
in	O
stdarg.h	B-Language
in	O
C	B-Language
)	O
.	O
</s>
<s>
Its	O
parameters	O
are	O
assumed	O
to	O
be	O
non-aliased	O
(	O
see	O
Aliasing	B-Application
(	O
computing	O
)	O
and	O
Pointer	O
aliasing	B-Application
)	O
.	O
</s>
<s>
RPC	B-Operating_System
to	O
another	O
codelet	O
)	O
or	O
other	O
HMPP	O
directives	O
.	O
</s>
<s>
These	O
properties	O
ensure	O
that	O
a	O
codelet	O
RPC	B-Operating_System
can	O
be	O
remotely	O
executed	O
by	O
a	O
HWA	O
.	O
</s>
<s>
This	O
RPC	B-Operating_System
and	O
its	O
associated	O
data	O
transfers	O
can	O
be	O
asynchronous	O
.	O
</s>
<s>
HMPP	O
provides	O
synchronous	O
and	O
asynchronous	O
RPC	B-Operating_System
.	O
</s>
<s>
The	O
OpenHMPP	B-Application
directives	O
may	O
be	O
seen	O
as	O
“	O
meta-information	O
”	O
added	O
in	O
the	O
application	O
source	O
code	O
.	O
</s>
<s>
They	O
address	O
the	O
remote	O
execution	O
(	O
RPC	B-Operating_System
)	O
of	O
a	O
function	O
as	O
well	O
as	O
the	O
transfers	O
of	O
data	O
to/from	O
the	O
HWA	O
memory	O
.	O
</s>
<s>
The	O
table	O
below	O
introduces	O
the	O
OpenHMPP	B-Application
directives	O
.	O
</s>
<s>
OpenHMPP	B-Application
directives	O
address	O
different	O
needs	O
:	O
some	O
of	O
them	O
are	O
dedicated	O
to	O
declarations	O
and	O
others	O
are	O
dedicated	O
to	O
the	O
management	O
of	O
the	O
execution	O
.	O
</s>
<s>
In	O
order	O
to	O
simplify	O
the	O
notations	O
,	O
regular	B-Language
expressions	I-Language
will	O
be	O
used	O
to	O
describe	O
the	O
syntax	O
of	O
the	O
HMPP	O
directives	O
.	O
</s>
<s>
The	O
general	O
syntax	O
of	O
OpenHMPP	B-Application
directives	O
is	O
:	O
</s>
<s>
For	O
C	B-Language
language	I-Language
:	O
</s>
<s>
For	O
FORTRAN	B-Application
language	I-Application
:	O
</s>
<s>
 [ & ] 	O
:	O
is	O
a	O
character	O
used	O
to	O
continue	O
the	O
directive	O
on	O
the	O
next	O
line	O
(	O
same	O
for	O
C	B-Language
and	O
FORTRAN	B-Application
)	O
.	O
</s>
<s>
Below	O
are	O
the	O
directive	O
parameters	O
defined	O
in	O
OpenHMPP	B-Application
:	O
</s>
<s>
cond	O
=	O
"	O
expr	O
"	O
:	O
specifies	O
an	O
execution	O
condition	O
as	O
a	O
boolean	O
C	B-Language
or	O
Fortran	B-Application
expression	O
that	O
needs	O
to	O
be	O
true	O
in	O
order	O
to	O
start	O
the	O
execution	O
of	O
the	O
group	O
or	O
codelets	O
.	O
</s>
<s>
A	O
codelet	O
directive	O
declares	O
a	O
computation	O
to	O
be	O
remotely	O
executed	O
on	O
a	O
hardware	B-General_Concept
accelerator	I-General_Concept
.	O
</s>
<s>
In	O
C	B-Language
language	I-Language
:	O
</s>
<s>
The	O
OpenHMPP	B-Application
Open	O
Standard	O
is	O
based	O
on	O
HMPP	O
Version	O
2.3	O
(	O
May	O
2009	O
,	O
CAPS	O
entreprise	O
)	O
.	O
</s>
<s>
The	O
OpenHMPP	B-Application
directive-based	O
programming	O
model	O
is	O
implemented	O
in	O
:	O
</s>
<s>
OpenHMPP	B-Application
is	O
used	O
by	O
HPC	B-Architecture
actors	O
in	O
Oil	O
&	O
Gas	O
,	O
Energy	O
,	O
Manufacturing	O
,	O
Finance	O
,	O
Education	O
&	O
Research	O
.	O
</s>
