Deleted Added
sdiff udiff text old ( 9983:2cce74fe359e ) new ( 10153:936a3a8006f6 )
full compact
1/*
2 * Copyright (c) 2011-2013 Advanced Micro Devices, Inc.
3 * Copyright (c) 2013 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 77 unchanged lines hidden (view full) ---

86 }
87
88 ~BarrierEvent();
89
90 friend class BaseGlobalEvent;
91
92 bool globalBarrier()
93 {
94 return _globalEvent->barrier->wait();
95 }
96
97 public:
98 virtual BaseGlobalEvent *globalEvent() { return _globalEvent; }
99 };
100
101 //! The barrier that all threads wait on before performing the

--- 129 unchanged lines hidden ---