Skip to content
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

Wrong source paths in debug info #2460

Open
maleadt opened this issue Aug 6, 2024 · 0 comments
Open

Wrong source paths in debug info #2460

maleadt opened this issue Aug 6, 2024 · 0 comments
Labels
bug Something isn't working cuda kernels Stuff about writing CUDA kernels. good first issue Good for newcomers

Comments

@maleadt
Copy link
Member

maleadt commented Aug 6, 2024

julia> @device_code_ptx raw=true CuArray([1]).+1

	.file	1 "/home/tim/.julia/packages/GPUArrays/8Y80U/src/host/broadcast.jl"
	.file	2 "./int.jl"
	.file	3 "/home/tim/.julia/packages/GPUArrays/8Y80U/src/device/indexing.jl"
	.file	4 "./essentials.jl"
	.file	5 "/home/tim/.julia/packages/LLVM/5DlHM/src/interop/base.jl"
	.file	6 "./broadcast.jl"
	.file	7 "/home/tim/Julia/pkg/CUDA/src/device/array.jl"
	.file	8 "/home/tim/.julia/packages/LLVM/5DlHM/src/interop/pointer.jl"
	.file	9 "./none"

Only package paths seem to be reported correctly. We should try to resolve these to the Julia BINDIR for a better profiling experience.

@maleadt maleadt added bug Something isn't working good first issue Good for newcomers cuda kernels Stuff about writing CUDA kernels. labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda kernels Stuff about writing CUDA kernels. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant