edu.bonn.cs.net.jbarrier.barrier
Interface FloatReduction
- All Known Implementing Classes:
- FloatButterflyReduction, FloatCentralReduction, FloatDisseminationReduction, FloatStaticTreeReduction, FloatTournamentReduction
public interface FloatReduction
Interface for barriers supporting primitive float reductions.
- Version:
- 1.0
- Author:
- Patrick Peschlow, Ivan Castilla Rodriguez
Method Summary |
float |
await(int threadId,
float value)
Called by a party that reaches the barrier. |
await
float await(int threadId,
float value)
- Called by a party that reaches the barrier.
- Parameters:
threadId
- the ID of the partyvalue
- the value subject to the reduction
- Returns:
- the result of the reduction
Copyright 2010 Patrick Peschlow