-
Notifications
You must be signed in to change notification settings - Fork 754
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
[SYCL][CUDA] Nsys profiling broken after memory providers change #16944
[SYCL][CUDA] Nsys profiling broken after memory providers change #16944
Comments
tagging @ldorau for awareness, not sure what's going on but it looks like the UMF provider change caused it somehow |
Thanks! Tagging @pbalcer and @bratpiorka for awareness. |
@Bensuo Could you reproduce this issue with DPC++ version ldorau@e78f196 from the https://github.com/ldorau/llvm/tree/DEBUG_UR_and_UMF branch with: |
@ldorau Thanks for looking into it. Here's the logs you requested:
|
@Bensuo If you need there is a workaround for this issue - run it with the path to $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcuda.so nsys profile ./usm_fill |
Just want to confirm that the above workaround worked for me. I was running into the same issue for a different app. |
@Bensuo The fix is already under review in UMF: oneapi-src/unified-memory-framework#1086 |
The fix (oneapi-src/unified-memory-framework#1086) for this issue has just been merged to UMF. |
Update UMF to the latest commit: commit 5a515c56c92be75944c8246535c408cee7711114 Author: Lukasz Dorau <[email protected]> Date: Mon Feb 17 10:56:05 2025 +0100 Merge pull request oneapi-src#1086 from vinser52/svinogra_l0_linking to fix the issue in LLVM (SYCL/CUDA): intel/llvm#16944 [SYCL][CUDA] Nsys profiling broken after memory providers change Fixes: intel/llvm#16944 Signed-off-by: Lukasz Dorau <[email protected]>
@Bensuo I have just submitted the PR: oneapi-src/unified-runtime#2708 to UR with the fix for this issue. Please review. |
Update UMF to the latest commit: commit 5a515c56c92be75944c8246535c408cee7711114 Author: Lukasz Dorau <[email protected]> Date: Mon Feb 17 10:56:05 2025 +0100 Merge pull request intel#1086 from vinser52/svinogra_l0_linking to fix the issue in LLVM (SYCL/CUDA): intel#16944 [SYCL][CUDA] Nsys profiling broken after memory providers change Fixes: intel#16944 Signed-off-by: Lukasz Dorau <[email protected]>
Update UMF to the latest commit: commit 5a515c56c92be75944c8246535c408cee7711114 Author: Lukasz Dorau <[email protected]> Date: Mon Feb 17 10:56:05 2025 +0100 Merge pull request oneapi-src#1086 from vinser52/svinogra_l0_linking to fix the issue in LLVM (SYCL/CUDA): intel/llvm#16944 [SYCL][CUDA] Nsys profiling broken after memory providers change Fixes: intel/llvm#16944 Signed-off-by: Lukasz Dorau <[email protected]>
Update UMF to the latest commit: commit 5a515c56c92be75944c8246535c408cee7711114 Author: Lukasz Dorau <[email protected]> Date: Mon Feb 17 10:56:05 2025 +0100 Merge pull request intel#1086 from vinser52/svinogra_l0_linking to fix the issue in LLVM (SYCL/CUDA): intel#16944 [SYCL][CUDA] Nsys profiling broken after memory providers change Fixes: intel#16944 Signed-off-by: Lukasz Dorau <[email protected]>
Update UMF to the commit: commit 5a515c56c92be75944c8246535c408cee7711114 Author: Lukasz Dorau <[email protected]> Date: Mon Feb 17 10:56:05 2025 +0100 Merge pull request intel#1086 from vinser52/svinogra_l0_linking to fix the issue in LLVM (SYCL/CUDA): intel#16944 [SYCL][CUDA] Nsys profiling broken after memory providers change Fixes: intel#16944 Signed-off-by: Lukasz Dorau <[email protected]>
Describe the bug
Trying to profile a SYCL application under
nsys profile
seems to be broken after #16761, whereurPlatformGet()
fails with an unknown error when callingCreateDeviceMemoruyProviders()
. This makes it impossible to profile usingnsys
, while the application executes normally when run directly.Error output:
To reproduce
Example commands to reproduce from LLVM build with an E2E test:
Environment
nsys
version2024.6.2.225-246235244400v0
and2025.1.1.103-251135427971v0
Additional context
Reproduced on two different systems so local configuration doesn't seem to be the issue, and
nsys profile
works fine from commits before the linked PR.The text was updated successfully, but these errors were encountered: