-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
rocmPackages.rocprofiler: fix rocprof and rocprofv2 #262798
Conversation
33b25ac
to
27a89a2
Compare
Result of 1 package built:
|
these seem to be marked executable:
|
27a89a2
to
977784c
Compare
So many weird things going on with this program. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/2816 |
I'd like to learn more about the rocm tooling, how may I test this? I have a 580 if it helps |
A basic test for
|
That said, I'm not entirely sure anything you do with |
Been at it for a while now, but it seems polaris support is truly dropped. Diff LGTM |
You should be able to run rocm (or at least part of it) on polaris when you set the environment variable |
Been trying it out, rebuilding my system with rocm stuff enabled, and no luck... My repro for those interested: NIXPKGS_ALLOW_UNFREE=1 ROC_ENABLE_PRE_VEGA=1 nix shell --impure github:Madouura/nixpkgs/pr/rocprofiler#rocmPackages.{clr,rocprofiler} -c bash -x <(cat <<'EOF'
cd "$(mktemp -d)"
curl -L https://gist.githubusercontent.com/pbsds/aab148188bdcf308f70053d3e53cefb4/raw/935bfe11709e9e3b69b89435bcd487c69a742e5b/test.hip > test.hip
hipcc test.hip
./a.out
rocprof --hip-trace ./a.out
rocprofv2 ./a.out
rm -rf "$(pwd)"
EOF
) output:
Could you post your result @Flakebi ? I'm sorry if I'm being overly cautious. |
I get this on a gfx10 / navi10 card (RX 5700 XT):
|
Only things that don't work for me is |
Noticed the /bin/ls error. |
Yeah, I merged this branch into some other branch, I would have expected it to work. Anyway, I tried again without merging and it seems to work fine. Output
|
Seems like the linked issue is fixed |
Description of changes
Tracking: #197885
Fixes: #262615
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)