JuliaGPU/CUDA.jl

Wrong source paths in debug info

Open

#2,460 opened on 2024年8月6日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Julia (274 forks)batch import
bugcuda kernelsgood first issue

Repository metrics

Stars
 (1,408 stars)
PR merge metrics
 (平均マージ 5d 5h) (30d で 16 merged PRs)

説明

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.

コントリビューターガイド