Skip to content

[OMPD] The LLVM OMPD ompd_get_task_frame() function does not seem to support NVIDIA GPUs #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jdelsign opened this issue Feb 27, 2019 · 2 comments

Comments

@jdelsign
Copy link

The LLVM OMPD ompd_get_task_frame() function does not seem to support the NVIDIA GPUs. It treats a task handle for a GPU task as if it were a CPU task. See: https://github.com/OpenMPToolsInterface/LLVM-openmp/blob/ompd-devices/libompd/src/omp-debug.cpp#L1216

As a result, it attempts to lookup symbols that are not defined in the CUDA ELF images. For example, it attempts to lookup "ompd_access__kmp_taskdata_t__ompt_task_info_" and "ompd_sizeof__kmp_taskdata_t__ompt_task_info_", which are not defined in the NVIDIA GPU CUDA ELF symbol tables.

@jprotze
Copy link

jprotze commented Mar 26, 2019

This is fixed in the ompd-device-50 branch to the point, that the library does not try to access host data structures.
@mcfadden8 do you have an idea how the device runtime could provide this information?

@mcfadden8
Copy link

@jprotze, I am sorry, but I don't know the answer to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants