[PATCH v3 06/10] GCN back-end config

Andrew Stubbs ams@codesourcery.com
Wed Dec 12 11:53:00 GMT 2018


[Already approved by Jeff Law.  Included here for completeness, now with
config.sub removed.]

This patch contains the configuration adjustments needed to enable the GCN
back-end.

Since the previous v2 posting, the config.sub patch has be committed to
the upstream GNU config repository.  However, the GCC version will have
to be updated before this config will work.  I presume I can do that as
an "obvious" patch when the time comes? (If nobody else gets there
first.)

The new configure check for dlopen is required to allow building the new
gcn-run tool.  This tool uses libdl to load the HSA runtime libraries, which
are required to run programs on the GPU.  The tool is disabled if libdl is not
available.

2018-12-12  Andrew Stubbs  <ams@codesourcery.com>
	    Kwok Cheung Yeung  <kcy@codesourcery.com>
	    Julian Brown  <julian@codesourcery.com>
	    Tom de Vries  <tom@codesourcery.com>
	    Jan Hubicka  <hubicka@ucw.cz>
	    Martin Jambor  <mjambor@suse.cz>

	* configure.ac: Likewise.
	* configure: Regenerate.
	* contrib/config-list.mk: Add amdgcn-amdhsa.

	gcc/
	* config.gcc: Add amdgcn*-*-amdhsa configuration.
	* configure.ac: Check for dlopen.
	* configure: Regenerate.
---
 config.sub             |  9 +++++++
 configure              |  2 ++
 configure.ac           |  2 ++
 contrib/config-list.mk |  1 +
 gcc/config.gcc         | 41 ++++++++++++++++++++++++++++++
 gcc/configure          | 68 ++++++++++++++++++++++++++++++++++++++++++++++++--
 gcc/configure.ac       |  8 ++++++
 7 files changed, 129 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-GCN-back-end-config.patch
Type: text/x-patch
Size: 5652 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181212/f32a4a45/attachment.bin>


More information about the Gcc-patches mailing list