Displaying 9 results from an estimated 9 matches for "ballot_1".
2019 Jan 24
3
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...some externally observable side effect. We can abstract this
> away by tagging the calls, e.g. by using aliases.
>
> For example:
>
> if (...) {
> foo1 = ballot();
> } else {
> foo2 = ballot();
> }
>
> simply becomes:
>
> if (...) {
> foo1 = ballot_1();
> } else {
> foo2 = ballot_2();
> }
>
>
> and
>
> if (...) {
> } else {
> }
> ballot();
>
> becomes
>
> if (...) {
> } else {
> }
> ballot_1();
>
> In the first case it would prevent combining the two calls into one
> after the...
2019 Jan 28
2
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...; away by tagging the calls, e.g. by using aliases.
> >
> > For example:
> >
> > if (...) {
> > foo1 = ballot();
> > } else {
> > foo2 = ballot();
> > }
> >
> > simply becomes:
> >
> > if (...) {
> > foo1 = ballot_1();
> > } else {
> > foo2 = ballot_2();
> > }
> >
> >
> > and
> >
> > if (...) {
> > } else {
> > }
> > ballot();
> >
> > becomes
> >
> > if (...) {
> > } else {
> > }
> > ballot_1();
>...
2018 Dec 29
1
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
On 20.12.18 18:03, Connor Abbott wrote:
> We already have the notion of "convergent" functions like
> syncthreads(), to which we cannot add control-flow dependencies.
> That is, it's legal to hoist syncthreads out of an "if", but it's
> not legal to sink it into an "if". It's not clear to me why we
> can't have
2019 Jan 30
3
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...;
> > > For example:
> > >
> > > if (...) {
> > > foo1 = ballot();
> > > } else {
> > > foo2 = ballot();
> > > }
> > >
> > > simply becomes:
> > >
> > > if (...) {
> > > foo1 = ballot_1();
> > > } else {
> > > foo2 = ballot_2();
> > > }
> > >
> > >
> > > and
> > >
> > > if (...) {
> > > } else {
> > > }
> > > ballot();
> > >
> > > becomes
> > >
> &g...
2019 Jan 31
2
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...> > > if (...) {
> > > > foo1 = ballot();
> > > > } else {
> > > > foo2 = ballot();
> > > > }
> > > >
> > > > simply becomes:
> > > >
> > > > if (...) {
> > > > foo1 = ballot_1();
> > > > } else {
> > > > foo2 = ballot_2();
> > > > }
> > > >
> > > >
> > > > and
> > > >
> > > > if (...) {
> > > > } else {
> > > > }
> > > > ballot();
>...
2019 Jan 31
3
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...> > > if (...) {
> > > > foo1 = ballot();
> > > > } else {
> > > > foo2 = ballot();
> > > > }
> > > >
> > > > simply becomes:
> > > >
> > > > if (...) {
> > > > foo1 = ballot_1();
> > > > } else {
> > > > foo2 = ballot_2();
> > > > }
> > > >
> > > >
> > > > and
> > > >
> > > > if (...) {
> > > > } else {
> > > > }
> > > > ballot();
>...
2019 Jan 30
2
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...> > > if (...) {
> > > > foo1 = ballot();
> > > > } else {
> > > > foo2 = ballot();
> > > > }
> > > >
> > > > simply becomes:
> > > >
> > > > if (...) {
> > > > foo1 = ballot_1();
> > > > } else {
> > > > foo2 = ballot_2();
> > > > }
> > > >
> > > >
> > > > and
> > > >
> > > > if (...) {
> > > > } else {
> > > > }
> > > > ballot();
>...
2019 Feb 01
2
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...> foo1 = ballot();
> > > > } else {
> > > > foo2 = ballot();
> > > > }
> > > >
> > > > simply becomes:
> > > >
> > > > if (...) {
> > > > foo1 = ballot_1();
> > > > } else {
> > > > foo2 = ballot_2();
> > > > }
> > > >
> > > >
> > > > and
> > > >
> > > > if (...) {
> > > > } else {
> &g...
2019 Feb 09
1
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
...> > > } else {
> > > > > foo2 = ballot();
> > > > > }
> > > > >
> > > > > simply becomes:
> > > > >
> > > > > if (...) {
> > > > > foo1 = ballot_1();
> > > > > } else {
> > > > > foo2 = ballot_2();
> > > > > }
> > > > >
> > > > >
> > > > > and
> > > > >
> > > > > if (...) {
> &...