mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Extend execution framework with convenience functions
This commit is contained in:
		
							parent
							
								
									46fd722f3c
								
							
						
					
					
						commit
						4eb13a407f
					
				
					 2 changed files with 38 additions and 6 deletions
				
			
		|  | @ -248,7 +248,7 @@ TEST_CASE("Test concurrency") | |||
| 
 | ||||
|     double ref = std::accumulate(vals.begin(), vals.end(), 0.); | ||||
| 
 | ||||
|     double s = sla::ccr_par::reduce(vals.begin(), vals.end(), 0., std::plus<double>{}); | ||||
|     double s = execution::accumulate(ex_tbb, vals.begin(), vals.end(), 0.); | ||||
| 
 | ||||
|     REQUIRE(s == Approx(ref)); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros