diff options
author | Frederik Harwath <frederik@codesourcery.com> | 2020-01-29 10:21:18 +0100 |
---|---|---|
committer | Frederik Harwath <frederik@codesourcery.com> | 2020-01-29 11:55:06 +0100 |
commit | 87c3fcfa6bbb5c372d4e275276d21f601d0b62b0 (patch) | |
tree | 479a941b519b35685b6fd5556405dbca023a2673 /libgomp/testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c | |
parent | 2e5ea57959183bd5bd0356739bb5167417401a31 (diff) |
Adjust formatting of acc_get_property tests
libgomp/
* testsuite/libgomp.oacc-c-c++-common/acc_get_property.c:
Adjust to GNU coding style.
* testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_get_property-gcn.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_get_property-nvptx.c: Likewise.
Diffstat (limited to 'libgomp/testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c')
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c index f1cd7cfef39..4ed0dfa8886 100644 --- a/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c +++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c @@ -6,12 +6,14 @@ #include <openacc.h> #include <stdio.h> -void expect_device_properties -(acc_device_t dev_type, int dev_num, - size_t expected_memory, const char* expected_vendor, - const char* expected_name, const char* expected_driver); +void expect_device_properties (acc_device_t dev_type, int dev_num, + size_t expected_memory, + const char* expected_vendor, + const char* expected_name, + const char* expected_driver); -int main() +int +main () { printf ("Checking acc_device_host device properties\n"); expect_device_properties (acc_device_host, 0, 0, "GNU", "GOMP", "1.0"); |