File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ numa_executor exec;
114114std::vector<std::unique_ptr<float[SIZE]>> data{};
115115data.reserve(N);
116116
117- // Require the NUMA executor to bind it's allocation of memory to the underlying
117+ // Require the NUMA executor to bind its allocation of memory to the underlying
118118// memory resources in a scatter patter.
119119auto affinityExec = std::execution::require(exec,
120120 bulk_execution_affinity.scatter);
@@ -125,7 +125,7 @@ affinityExec.bulk_execute([&](size_t id) {
125125 data[id] = std::make_unique<float>(); }, N, sharedFactory);
126126
127127// Execute a for_each using the same executor so that each unique_ptr in the
128- // vector maintains it's locality.
128+ // vector maintains its locality.
129129std::for_each(std::execution::par.on(affinityExec), std::begin(data),
130130 std::end(data), [=](float &value) { do_something(value): });
131131```
You can’t perform that action at this time.
0 commit comments