Skip to content

Commit 2f0587e

Browse files
committed
Update documentation for kernelcall to clarify package selection for parallelization
1 parent 6ebe602 commit 2f0587e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ParallelKernel/parallel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Declare the `kernelcall` parallel. The kernel will automatically be called as re
1515
Automatic computation of `ranges` for `@parallel <kernelcall>` is only possible if the number of parallel indices used by the kernel is equal to the number of dimensions of the highest-dimensional input arrays. Otherwise, specify the `ranges` manually with `@parallel ranges=... <kernelcall>`.
1616
1717
!!! note "Runtime hardware selection"
18-
When KernelAbstractions is initialized, this wrapper consults [`current_hardware`](@ref) to determine the runtime hardware target. The symbol defaults to `:cpu` and can be switched to select other targets via [`select_hardware`](@ref).
18+
When KernelAbstractions is chosen as the package for parallelization, this wrapper consults [`current_hardware`](@ref) to determine the runtime hardware target. The symbol defaults to `:cpu` and can be switched to select other targets via [`select_hardware`](@ref).
1919
2020
# Arguments
2121
- `kernelcall`: a call to a kernel that is declared parallel.

0 commit comments

Comments
 (0)