1 /* 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 */ 17 18 /** \file 19 * Function declarations for Fortran list IO (files ldread.c/ldwrite.c). 20 */ 21 22 /** \brief 23 * list-directed external file read initialization (defined in ldread.c) 24 * 25 * \param type data type (as defined in pghpft.h) 26 * \param length # items of type to read 27 * \param stride distance in bytes between items 28 * \param item where to transfer data to 29 * \param itemlen 30 */ 31 int __f90io_ldr(int type, long length, int stride, char *item, __CLEN_T itemlen); 32 33 /** \brief 34 * list-directed external file write initializations (defined in ldwrite.c) 35 * 36 * \param type data type (as defined in pghpft.h) 37 * \param length # items of type to write. May be <= 0 38 * \param stride distance in bytes between items 39 * \param item where to transfer data from 40 * \param item_length 41 */ 42 int 43 __f90io_ldw(int type, long length, int stride, char *item, __CLEN_T item_length); 44