Skip to content

Commit 60fba14

Browse files
committed
Add type assertion
1 parent 257bee8 commit 60fba14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/cuda/cuda_utils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ function auto_launch!(
117117
if contains(func_name, "#")
118118
func_name = split(func_name, "#")[1]
119119
end
120-
fp_split = splitpath(fpath_from_method_instance(frame.linfo))
120+
fp_split =
121+
splitpath(fpath_from_method_instance(frame.linfo::Core.MethodInstance))
121122
if "NVTX" in fp_split
122123
fp_string = "_NVTX"
123124
line_string = ""

0 commit comments

Comments
 (0)