diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2019-06-21 10:40:38 -0700 |
---|---|---|
committer | Sandra Loosemore <sloosemore@baylibre.com> | 2025-05-15 20:25:45 +0000 |
commit | 63caf6bc2f914518dbfcd242164f5e990982bdf9 (patch) | |
tree | 202ef2c9c7ae93980513f450a449c6c837db5dff /gcc | |
parent | 4566c9843f93d28f50dbe500b1b649a7731d1cd1 (diff) | |
download | gcc-63caf6bc2f914518dbfcd242164f5e990982bdf9.zip gcc-63caf6bc2f914518dbfcd242164f5e990982bdf9.tar.gz gcc-63caf6bc2f914518dbfcd242164f5e990982bdf9.tar.bz2 |
Add changes to profiling interface from OG8 branch
This bundles up the parts of the profiling code from the OG8 branch that were
not included in the upstream patch.
libgomp/ChangeLog
* Makefile.am (libgomp_la_SOURCES): Add
oacc-profiling-acc_register_library.c.
* Makefile.in: Regenerate.
* libgomp.texi: Remove paragraph about acc_register_library.
* oacc-init.c (get_property_any): Add profiling code.
* oacc-parallel.c (GOACC_parallel_keyed_internal): Set device_api for
profiling.
* oacc-profiling-acc_register_library.c: New file.
* oacc-profiling.c (goacc_profiling_initialize): Call
acc_register_library. Avoid duplicate registration.
(acc_register_library): Remove.
* config/nvptx/oacc-profiling-acc_register_library.c:
New empty file.
* config/nvptx/oacc-profiling.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_prof-dispatch-1.c: Remove
call to acc_register_library.
* testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_prof-valid_bytes-1.c:
Likewise.
* testsuite/libgomp.oacc-c-c++-common/acc_prof-version-1.c: Likewise.
Co-Authored-By: Maciej W. Rozycki <macro@codesourcery.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions