Skip to content

Commit

Permalink
DOC: explain "parallalization" when using single thread in more detail
Browse files Browse the repository at this point in the history
  • Loading branch information
nno committed Nov 22, 2016
1 parent fbc2924 commit 8e6bdef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mvpa/cosmo_searchlight.m
Expand Up @@ -181,14 +181,14 @@
worker_opt.nworkers=nproc_available;
worker_opt.progress=sl_opt.progress;
worker_opt.progress_suffix=progress_suffix;

worker_opt.nbrhood=nbrhood_cell{p};

worker_opt_cell{p}=worker_opt;
end

% Run process for each work in parallel
% Run process for each worker in parallel
% Note that when using nproc=1, cosmo_parcellfun does actually not
% use any parallellization
% use any parallellization; the result is a cell with a single element.
result_map_cell=cosmo_parcellfun(sl_opt.nproc,...
@run_searchlight_with_worker,...
worker_opt_cell,...
Expand Down

0 comments on commit 8e6bdef

Please sign in to comment.