JuliaGPU/CUDA.jl

Wrong source paths in debug info

开放

#2,460 创建于 2024年8月6日

 (0 条评论) (0 个反应) (0 位负责人)Julia (274 个派生)batch import
bugcuda kernelsgood first issue

仓库指标

星标
 (1,408 个星标)
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.

贡献者指南