-
Notifications
You must be signed in to change notification settings - Fork 56
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
Can not generate .json event trace #62
Comments
Hello @yitian1031,
|
The test.py can successfully run without unitrace; Following your suggestion, I added -c option,and it seems that zeCommandListAppendLaunchKernel aborted And another error occurs when the set bash cmd as below: When i use ulimit -s to reset stack size with bigger value, the above issues still ocur And it seems there is something wrong with the unitrace tool,how can i fix it? |
@yitian1031, may I know if you are running it under conda environment? It yes, can you build the tool fresh and try to run? |
I run under a conda environment, and I rebuild the tool via the latest code, and the tool can not run this time: |
@yitian1031 Please check the version of libstdc++.so in you conda env. If it is lower than 6.0.30, you need to upgrade it at least 6.0.30. Also you don't need to preload the libunitrace_tool.so. |
Running command shown as below:
LD_PRELOAD=/home/yitian/wyt/unitrace1/pti-gpu/tools/unitrace/build/libunitrace_tool.so /home/yitian/wyt/unitrace1/pti-gpu/tools/unitrace/build/unitrace --chrome-sycl-logging --chrome-dnn-logging --chrome-call-logging --chrome-kernel-logging --chrome-device-logging python test.py
And here comes the segment fault:
The generated json files contain nothing.
When running command as:
LD_PRELOAD=/home/yitian/wyt/unitrace1/pti-gpu/tools/unitrace/build/libunitrace_tool.so /home/yitian/wyt/unitrace1/pti-gpu/tools/unitrace/build/unitrace -d -s -t --chrome-kernel-logging --chrome-device-logging --chrome-no-thread-on-device --chrome-no-engine-on-device python test.py
Here comes the aborted error:
The generated json files contain some logging records.
The text was updated successfully, but these errors were encountered: