Skip to content

Commit

Permalink
Update raytrace_cpu.jl
Browse files Browse the repository at this point in the history
Function name typo
  • Loading branch information
Jack-Grogan authored Nov 19, 2024
1 parent c74b026 commit 396e463
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/raytrace/raytrace_cpu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function traverse_rays_nodes!(bvh, points, directions, src, dst, num_src, ::Noth

# Split computation into contiguous ranges of minimum 100 elements each; if only single thread
# is needed, inline call
tp = TaskPartitioner(num_src, options.num_threads, options.min_traversals_per_thread)
tp = AK.TaskPartitioner(num_src, options.num_threads, options.min_traversals_per_thread)
if tp.num_tasks == 1
num_dst = traverse_rays_nodes_range!(
bvh, points, directions,
Expand Down Expand Up @@ -99,7 +99,7 @@ function traverse_rays_leaves!(bvh, points, directions, src, intersections, num_

# Split computation into contiguous ranges of minimum 100 elements each; if only single thread
# is needed, inline call
tp = TaskPartitioner(num_src, options.num_threads, options.min_traversals_per_thread)
tp = AK.TaskPartitioner(num_src, options.num_threads, options.min_traversals_per_thread)
if tp.num_tasks == 1
num_intersections = traverse_rays_leaves_range!(
bvh, points, directions,
Expand Down Expand Up @@ -174,4 +174,4 @@ function traverse_rays_leaves_range!(
num_written[] = num_dst
return nothing
end
end
end

0 comments on commit 396e463

Please sign in to comment.