JuliaGPU/CUDA.jl

Wrong source paths in debug info

Open

#2,460 建立於 2024年8月6日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Julia (274 fork)batch import
bugcuda kernelsgood first issue

倉庫指標

Star
 (1,408 star)
PR 合併指標
 (平均合併 5天 5小時) (30 天內合併 16 個 PR)

描述

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.

貢獻者指南