codeplaysoftware / LPGPU2-CodeXL

LPGPU2 CodeXL power performance analysis and feedback tool for GPUs
Other
35 stars 12 forks source link

Where to get some support? #5

Open rNoz opened 5 years ago

rNoz commented 5 years ago

Hello,

Where can I get some support related to LPGPU2-CodeXL?. Still, I will ask here.

Currently, my main question is how this "agnostic OpenCL profiling" is done, because it does not work in my case. When the program starts it says "CodeXL GPU Profiler: AMD GPU was not detected. Local GPU Profiling will be disabled. CodeXL CPU Profiler: AMD CPU was not detected. Only time-based profiling will be enabled. CodeXL Static Analyzer: AMD Radeon Software was not detected. Static Analysis will be disabled.", but also when trying to do some GPU profiling it emits errors.

Should I do something special? It even doesn't recognize my OpenCL devices in settings. And they work with clinfo/my own binaries, both the CPU and GPU (intel in both cases).

If it is something that should be done, I will appreciate some files/steps that will be needed to be modified to make it work. And I will try to work on it. So far I only saw this m_installedAMDComponentsBitmask & AF_AMD_GPU_COMPONENT, inside the afGlobalVariablesManager::FindInstalledAMDComponents.

Thanks.

mcleary commented 5 years ago

Hi @rNoz,

Sorry for the delay in getting back to you but I was away from the office last week.

The agnostic OpenCL profiling was a patch we made for CodeXL to allow using it for non-AMD devices, especially systems running on ARM processors like Chrome Books and ARM developer boards.

The messages you're seeing were not removed because it is the default behaviour on Windows. It checks if the drivers are available and it displays a message in case they aren't, however, you should still be able to use the Application Timeline Trace" mode, found under Profile* menu.

However, if your aim is to profile an Intel device (CPU or GPU), I recommend you to use the Intel's Intercept Layer. The concept is very similar but this one is designed for Intel devices in mind. I also recommend you to take a look at Intel's VTune.

Hope this can help.