From 5e7ed20d5a654d4f22e3c4b9ed6adbf765853718 Mon Sep 17 00:00:00 2001 From: Robert Chisholm Date: Tue, 12 Sep 2023 14:15:45 +0100 Subject: [PATCH] OMP->MPI --- src/flamegpu/simulation/CUDAEnsemble.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flamegpu/simulation/CUDAEnsemble.cu b/src/flamegpu/simulation/CUDAEnsemble.cu index 8dcac5072..0e88cf2bb 100644 --- a/src/flamegpu/simulation/CUDAEnsemble.cu +++ b/src/flamegpu/simulation/CUDAEnsemble.cu @@ -199,7 +199,7 @@ unsigned int CUDAEnsemble::simulate(const RunPlanVector& plans) { std::mutex log_export_queue_mutex; std::condition_variable log_export_queue_cdn; #ifdef FLAMEGPU_ENABLE_MPI - // In OMP mode, Rank 0 will collect errors from all ranks + // In MPI mode, Rank 0 will collect errors from all ranks std::multimap err_detail = {}; #endif std::vector err_detail_local = {}; @@ -211,7 +211,7 @@ unsigned int CUDAEnsemble::simulate(const RunPlanVector& plans) { step_log_config.get(), exit_log_config.get(), step_log_config && step_log_config->log_timing, exit_log_config && exit_log_config->log_timing); } - // In OMP mode, only Rank 0 increments the error counter + // In MPI mode, only Rank 0 increments the error counter unsigned int err_count = 0; if (config.mpi) { #ifdef FLAMEGPU_ENABLE_MPI