| 1234567891011121314151617181920212223242526272829303132333435363738 | CC StarPU --- Runtime system for heterogeneous multicore architectures.C C Copyright (C) 2009  Université Bordeaux 1C Copyright (C) 2010  Centre National de la Recherche ScientifiqueCC StarPU is free software; you can redistribute it and/or modifyC it under the terms of the GNU Lesser General Public License as published byC the Free Software Foundation; either version 2.1 of the License, or (atC your option) any later version.CC StarPU is distributed in the hope that it will be useful, butC WITHOUT ANY WARRANTY; without even the implied warranty ofC MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.CC See the GNU Lesser General Public License in COPYING.LGPL for more details.C#include "StarPU_fortran.h"            SUBROUTINE HELLOSUB(X)          INTEGER :: X          WRITE(*,*) 'X =', X      END SUBROUTINE      PROGRAM HELLO          USE STARPU_FORTRAN          USE ISO_C_BINDING          INTEGER :: TOTO          TOTO = 42          CALL STARPU_SUBMIT_CODELET(PRINT_INT, TOTO)C           CALL STARPU_SUBMIT_CODELET(HELLOSUB, TOTO)C          CALL DUMMY_C_FUNC(TOTO)      END PROGRAM
 |