r235189 - in /branches/hsa: gcc/ChangeLog.hsa g...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Tue Apr 19 08:24:00 GMT 2016


Author: marxin
Date: Tue Apr 19 08:24:16 2016
New Revision: 235189

URL: https://gcc.gnu.org/viewcvs?rev=235189&root=gcc&view=rev
Log:
Load an HSA runtime via dlopen mechanism

	* doc/install.texi: Remove entry about --with-hsa-kmt-lib.
	* config.h.in: Introduce HSA_RUNTIME_LIB.
	* configure: Regerenated.
	* hsa.h: New file.
	* hsa_ext_finalize.h: New file.
	* plugin/configfrag.ac: Remove hsa-kmt-lib test.
	* plugin/plugin-hsa.c (struct hsa_runtime_fn_info): New
	structure.
	(init_enviroment_variables): Load newly introduced ENV
	variables.
	(hsa_warn): Call a function via hsa_fns data structure.
	(hsa_fatal): Likewise.
	(init_hsa_runtime_functions): Likewise.
	(suitable_hsa_agent_p): Likewise.
	(init_hsa_context): Likewise.
	(get_kernarg_memory_region): Likewise.
	(GOMP_OFFLOAD_init_device): Likewise.
	(destroy_hsa_program): Likewise.
	(create_and_finalize_hsa_program): Likewise.
	(create_single_kernel_dispatch): Likewise.
	(release_kernel_dispatch): Likewise.
	(init_single_kernel): Likewise.
	(GOMP_OFFLOAD_run): Likewise.
	(GOMP_OFFLOAD_fini_device): Likewise.
	* testsuite/lib/libgomp.exp: Remove hsa_kmt_lib support.
	* testsuite/libgomp-test-support.exp.in: Likewise.

Added:
    branches/hsa/libgomp/hsa.h
    branches/hsa/libgomp/hsa_ext_finalize.h
Modified:
    branches/hsa/gcc/ChangeLog.hsa
    branches/hsa/gcc/doc/install.texi
    branches/hsa/libgomp/ChangeLog.hsa
    branches/hsa/libgomp/config.h.in
    branches/hsa/libgomp/configure
    branches/hsa/libgomp/plugin/configfrag.ac
    branches/hsa/libgomp/plugin/plugin-hsa.c
    branches/hsa/libgomp/testsuite/lib/libgomp.exp
    branches/hsa/libgomp/testsuite/libgomp-test-support.exp.in



More information about the Gcc-cvs mailing list