Skip to content
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

Unable to capture opencl application on Linux/ROCm #41

Open
gggh000 opened this issue Jul 31, 2020 · 6 comments
Open

Unable to capture opencl application on Linux/ROCm #41

gggh000 opened this issue Jul 31, 2020 · 6 comments

Comments

@gggh000
Copy link

gggh000 commented Jul 31, 2020

I used the opencl application xgemm and attempted to capture. However the rgp does not detect it as running and it is not listed in "active applications", because of it, I can not capture trace.
The same rgp version used can capture vulkan application fine i.e. small app named vkcube that ships with the vulkan-sdk, however no success with opencl app.

@chesik-amd
Copy link
Contributor

Can you try this again with the recently-release 1.8 version of RGP?

Let us know if you still encounter problems

@gggh000
Copy link
Author

gggh000 commented Sep 19, 2020

it broke even further. Can not even start developServiceCLI:

root@i58400-u1804:/rgp/RadeonDeveloperTools-2020-09-11-26# [DevDriver] [RouterCore] Failed to register transport: \.\pipe\AMD-Developer-Service
[DevDriver] [ddRouter] Error connecting to local developer mode message bus. Error: DD_RESULT_UNKNOWN
Failed to create router context: DD_RESULT_UNKNOWN
Type "q" or "quit" to exit

@gggh000
Copy link
Author

gggh000 commented Sep 19, 2020

I can not do a QA job for you, this is not my responsibility. It is your responsibility to test your own code before announcing "try 1.8". it is wasting my time !

@Sturmflut
Copy link

Same here. I'm trying to profile an OpenCL kernel in darktable on Ubuntu 22.04.1 with driver version 22.20 and RGP 1.13.1. Application never shows up even though I've switched the workflow to "Compute (OpenCL)" (horrible UX, BTW).

Is there a way to trigger something from the command line? Which component is responsible for the capture?

@chesik-amd
Copy link
Contributor

Hi @Sturmflut : OpenCL on Linux is not supported by RGP. It is only supported on Windows.

On Linux, OpenCL runs on top of ROCm, and that driver stack does not support RGP. The ROCm team provides tools for profiling on that driver stack. I'm not that familiar with the tools there, but I believe rocprof is the tool to use for profiling (https://rocmdocs.amd.com/en/latest/ROCm_Tools/ROCm-Tools.html)

@chesik-amd chesik-amd changed the title Unable to capture opencl application Unable to capture opencl application on Linux/ROCm Jul 12, 2023
@chesik-amd
Copy link
Contributor

chesik-amd commented Jul 12, 2023

Updated the title of this issue to mention that the request being made here is for Linux/ROCm support. I didn't realize at the time that the original reporter was running on Linux.

There are no immediate plans for such support, as the ROCm driver stack does not currently support generating RGP data.

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

No branches or pull requests

3 participants