Every HPF element and expression has a data type. The data type of an element may be implicit in its definition or explicitly attached to the element in a declaration statement. This chapter describes the HPF data types and constants that pghpf supports. Fortran provides two types of data types, intrinsic data types and derived data types.
Types provided by the language are intrinsic types.
Types specified by the programmer and built from the intrinsic data types are called derived types. 2.1 Intrinsic Data Types Fortran provides five different intrinsic data types as shown in Table 2-1. The pghpf compiler supports the Fortran KIND parameter to specify a precision for intrinsic data types. The KIND parameter follows a data type specifier and specifies size or type of the supported data type. A KIND specification overrides the length attribute that the statement implies and assigns a specific length to the item, regardless of the compiler's command-line options.