diff options
author | Frederik Harwath <frederik@codesourcery.com> | 2020-01-29 10:19:50 +0100 |
---|---|---|
committer | Frederik Harwath <frederik@codesourcery.com> | 2020-01-29 11:54:56 +0100 |
commit | 2e5ea57959183bd5bd0356739bb5167417401a31 (patch) | |
tree | f491075db14d24fde5d83ad025913e63456a3c0c /libgomp/ChangeLog | |
parent | f57ccb55cdaeabd099618622b6ddee3d03cc4fbf (diff) |
Add OpenACC acc_get_property support for AMD GCN
Add full support for the OpenACC 2.6 acc_get_property and
acc_get_property_string functions to the libgomp GCN plugin.
libgomp/
* plugin-gcn.c (struct agent_info): Add fields "name" and
"vendor_name" ...
(GOMP_OFFLOAD_init_device): ... and init from here.
(struct hsa_context_info): Add field "driver_version_s" ...
(init_hsa_contest): ... and init from here.
(GOMP_OFFLOAD_openacc_get_property): Replace stub with a proper
implementation.
* testsuite/libgomp.oacc-c-c++-common/acc_get_property.c:
Enable test execution for amdgcn and host offloading targets.
* testsuite/libgomp.oacc-fortran/acc_get_property.f90: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c
(expect_device_properties): Split function into ...
(expect_device_string_properties): ... this new function ...
(expect_device_memory): ... and this new function.
* testsuite/libgomp.oacc-c-c++-common/acc_get_property-gcn.c:
Add test.
Diffstat (limited to 'libgomp/ChangeLog')
-rw-r--r-- | libgomp/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 9fa6bd1a5e4..7316db71a1c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,23 @@ + +2020-01-29 Frederik Harwath <frederik@codesourcery.com> + + * plugin-gcn.c (struct agent_info): Add fields "name" and + "vendor_name" ... + (GOMP_OFFLOAD_init_device): ... and init from here. + (struct hsa_context_info): Add field "driver_version_s" ... + (init_hsa_contest): ... and init from here. + (GOMP_OFFLOAD_openacc_get_property): Replace stub with a proper + implementation. + * testsuite/libgomp.oacc-c-c++-common/acc_get_property.c: + Enable test execution for amdgcn and host offloading targets. + * testsuite/libgomp.oacc-fortran/acc_get_property.f90: Likewise. + * testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c + (expect_device_properties): Split function into ... + (expect_device_string_properties): ... this new function ... + (expect_device_memory): ... and this new function. + * testsuite/libgomp.oacc-c-c++-common/acc_get_property-gcn.c: + Add test. + 2020-01-28 Julian Brown <julian@codesourcery.com> * testsuite/libgomp.oacc-fortran/deep-copy-2.f90: Remove test from here. |