Skip to content
Snippets Groups Projects
  • Tobias Burnus's avatar
    8b3f1edf
    OpenACC: Add Fortran routines acc_{alloc,free,hostptr,deviceptr,memcpy_{to,from}_device*} · 8b3f1edf
    Tobias Burnus authored
    These routines map simply to the C counterpart and are meanwhile
    defined in OpenACC 3.3. (There are additional routine changes,
    including the Fortran addition of acc_attach/acc_detach, that
    require more work than a simple addition of an interface and
    are therefore excluded.)
    
    libgomp/ChangeLog:
    
    	* libgomp.texi (OpenACC Runtime Library Routines): Document new 3.3
    	routines that simply map to their C counterpart.
    	* openacc.f90 (openacc): Add them.
    	* openacc_lib.h: Likewise.
    	* testsuite/libgomp.oacc-fortran/acc_host_device_ptr.f90: New test.
    	* testsuite/libgomp.oacc-fortran/acc-memcpy.f90: New test.
    	* testsuite/libgomp.oacc-fortran/acc-memcpy-2.f90: New test.
    	* testsuite/libgomp.oacc-c-c++-common/lib-59.c: Crossref to f90 test.
    	* testsuite/libgomp.oacc-c-c++-common/lib-60.c: Likewise.
    	* testsuite/libgomp.oacc-c-c++-common/lib-95.c: Likewise.
    8b3f1edf
    History
    OpenACC: Add Fortran routines acc_{alloc,free,hostptr,deviceptr,memcpy_{to,from}_device*}
    Tobias Burnus authored
    These routines map simply to the C counterpart and are meanwhile
    defined in OpenACC 3.3. (There are additional routine changes,
    including the Fortran addition of acc_attach/acc_detach, that
    require more work than a simple addition of an interface and
    are therefore excluded.)
    
    libgomp/ChangeLog:
    
    	* libgomp.texi (OpenACC Runtime Library Routines): Document new 3.3
    	routines that simply map to their C counterpart.
    	* openacc.f90 (openacc): Add them.
    	* openacc_lib.h: Likewise.
    	* testsuite/libgomp.oacc-fortran/acc_host_device_ptr.f90: New test.
    	* testsuite/libgomp.oacc-fortran/acc-memcpy.f90: New test.
    	* testsuite/libgomp.oacc-fortran/acc-memcpy-2.f90: New test.
    	* testsuite/libgomp.oacc-c-c++-common/lib-59.c: Crossref to f90 test.
    	* testsuite/libgomp.oacc-c-c++-common/lib-60.c: Likewise.
    	* testsuite/libgomp.oacc-c-c++-common/lib-95.c: Likewise.