Skip to content

Commit

Permalink
Ensemble Telemetry: Add PlanSize and Concurrent Runs to telemetry pay…
Browse files Browse the repository at this point in the history
…load
  • Loading branch information
ptheywood authored and Robadob committed Jul 28, 2023
1 parent 3655586 commit 47fe166
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/flamegpu/simulation/CUDAEnsemble.cu
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ unsigned int CUDAEnsemble::simulate(const RunPlanVector &plans) {
#if defined(__CUDACC_VER_MAJOR__) && defined(__CUDACC_VER_MINOR__) && defined(__CUDACC_VER_PATCH__)
payload_items["NVCCVersion"] = std::to_string(__CUDACC_VER_MAJOR__) + "." + std::to_string(__CUDACC_VER_MINOR__) + "." + std::to_string(__CUDACC_VER_BUILD__);
#endif
// Add the ensemble size to the ensemble telemetry payload
payload_items["PlansSize"] = std::to_string(plans.size());
payload_items["ConcurrentRuns"] = std::to_string(config.concurrent_runs);
// generate telemetry data
std::string telemetry_data = flamegpu::io::Telemetry::generateData("ensemble-run", payload_items, isSWIG);
// send the telemetry packet
Expand Down

0 comments on commit 47fe166

Please sign in to comment.