You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a strange one. I have built an application that spawns multiple threads where each thread calls RGA.exe repeatedly to gather data. Suffice to say that RGA.exe is getting hammered with 32 threads. The problem is that no matter how many threads I throw to it, it never goes any faster and my CPU cores are sitting idle.
Another experiment I did was to run RGA.exe -h while my application was running (and hammering RGA.exe). Strangely enough RGA.exe -h also took a lot of time to finish.
It feels like only one RGA.exe instance can run at any time which is strange. Multiple RGA.exe can't work in parallel. Any idea what might be wrong?
Some notes:
I'm on Windows 10
RGA version is 2.6.2.38
Calling RGA.exe using -s vk-offline-mode -c gfx1030 -a some_file.csv some_bin.spv
My application also calls another similar tool from Arm (Mali offline compiler) and that works fine. The CPU cores are fully utilized
My system doesn't have an AMD GPU
The text was updated successfully, but these errors were encountered:
I had the same problems. RGA creates thousands of temporary log files and after that RGA started to "think" for a long time.
For example, initialization takes 2 seconds because of 2k files. This increased the generation time of my shaders by 2 times. 40 seconds instead of 20 (then I also saw the 130k files of terminal logs, but they did not affect)
Cleaning temporary files helped at first. You can track them through Resource Monitoring.
rmdir /s /q "%LOCALAPPDATA%\D3DSCache"
rmdir /s /q "%TEMP%\GPUOpen"
del /q "%TEMP%\cxlTempFile_*.txt"
del /q "%TEMP%\osTempFile_*.txt"
BUT then it turned out that the generation was slowing down again. The processor is not fully loaded. It's like waiting for the system cache or something. Perhaps the antivirus or the ssd problems.
After a few hours, everything becomes fine...
It is not repeated on another computer. Always fast work. Both launches work in the --offline mode for dx12
Windows 10 Pro 21H2 (19044.2486)
DirectX 12 (Radeon RX 580 Series or offline mode)
Radeon GPU Analyzer Version: 2.7.0.129
This is a strange one. I have built an application that spawns multiple threads where each thread calls RGA.exe repeatedly to gather data. Suffice to say that RGA.exe is getting hammered with 32 threads. The problem is that no matter how many threads I throw to it, it never goes any faster and my CPU cores are sitting idle.
Another experiment I did was to run
RGA.exe -h
while my application was running (and hammering RGA.exe). Strangely enoughRGA.exe -h
also took a lot of time to finish.It feels like only one RGA.exe instance can run at any time which is strange. Multiple RGA.exe can't work in parallel. Any idea what might be wrong?
Some notes:
-s vk-offline-mode -c gfx1030 -a some_file.csv some_bin.spv
The text was updated successfully, but these errors were encountered: