Julian Brown d7e9ae4fa9 OpenMP, NVPTX: memcpy[23]D bias correction
This patch works around behaviour of the 2D and 3D memcpy operations in
the CUDA driver runtime.  Particularly in Fortran, the "base pointer"
of an array (used for either source or destination of a host/device copy)
may lie outside of data that is actually stored on the device.  The fix
is to make sure that we use the first element of data to be transferred
instead, and adjust parameters accordingly.

2023-10-02  Julian Brown  <julian@codesourcery.com>

libgomp/
	* plugin/plugin-nvptx.c (GOMP_OFFLOAD_memcpy2d): Adjust parameters to
	avoid out-of-bounds array checks in CUDA runtime.
	(GOMP_OFFLOAD_memcpy3d): Likewise.
	* testsuite/libgomp.c-c++-common/memcpyxd-bias-1.c: New test.
2023-12-20 21:35:36 +00:00
2023-06-23 00:16:38 +00:00
2023-12-01 00:17:36 +00:00
2023-12-15 00:17:17 +00:00
2023-11-23 00:18:14 +00:00
2023-11-04 00:16:45 +00:00
2023-12-16 00:17:35 +00:00
2023-08-08 00:17:37 +00:00
2023-12-16 00:17:35 +00:00
2023-12-01 00:17:36 +00:00
2023-12-07 00:17:06 +00:00
2023-06-16 00:17:18 +00:00
2023-12-14 00:18:00 +00:00
2023-06-16 00:17:18 +00:00
2023-10-27 00:17:12 +00:00
2023-12-20 00:17:48 +00:00
2023-12-14 00:18:00 +00:00
2023-12-15 00:17:17 +00:00
2023-12-06 00:17:50 +00:00
2023-10-23 00:16:43 +00:00
2023-10-23 00:16:43 +00:00
2023-12-19 00:17:36 +00:00
2023-12-13 00:17:49 +00:00
2023-11-29 00:17:27 +00:00
2023-10-23 00:16:43 +00:00
2023-12-19 00:17:36 +00:00
2023-10-23 00:16:43 +00:00
2023-10-23 00:16:43 +00:00
2023-11-14 12:23:39 +00:00
2023-10-23 00:16:43 +00:00
2023-11-14 00:47:11 +01:00
2023-12-15 00:17:17 +00:00
2023-10-05 12:00:39 -04:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%