https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #11 from Aldy Hernandez ---
Author: aldyh
Date: Wed Sep 13 16:36:54 2017
New Revision: 252328
URL: https://gcc.gnu.org/viewcvs?rev=252328&root=gcc&view=rev
Log:
Fix diff_type in expand_oacc_for char iter_type
2017-08-07 Tom de Vrie
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
Tom de Vries changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #9 from Tom de Vries ---
patch with test-suite (In reply to cesar from comment #8)
> Because num_gangs exceeds largest unsigned value that can be represented by
> the induction variable.
I think what you're trying to say here is that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #8 from cesar at gcc dot gnu.org ---
Because num_gangs exceeds largest unsigned value that can be represented by the
induction variable.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #7 from Tom de Vries ---
(In reply to cesar from comment #6)
> I'm not sure that solution is correct.
Why ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #6 from cesar at gcc dot gnu.org ---
I'm not sure that solution is correct. A better solution would be to report an
error/warning stating that num_workers exceeds the size of the induction
variable. Also, in the case that user doesn't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #5 from Tom de Vries ---
Author: vries
Date: Mon Aug 7 17:06:11 2017
New Revision: 250925
URL: https://gcc.gnu.org/viewcvs?rev=250925&root=gcc&view=rev
Log:
Fix diff_type in expand_oacc_for char iter_type
2017-08-07 Tom de Vries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #4 from Tom de Vries ---
F.i., we generate:
...
_41 = GOACC_DIM_SIZE (0);
_29 = (signed char) _41;
...
where _41 is 256.
When folding in forwprop2, we fold _29 to '0':
...
gimple_simplified to _29 = 0;
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #3 from Tom de Vries ---
Minimal example:
...
int
main ()
{
#pragma acc parallel num_gangs(256)
{
#pragma acc loop gang
for (unsigned char j = 0; j < 5; j++)
;
}
return 0;
}
...
We generate an unconditional tr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
--- Comment #2 from Tom de Vries ---
Reproduced it by mapping the outer loop to gang, and setting num_gangs to 640.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78266
Tom de Vries changed:
What|Removed |Added
CC||vries at gcc dot gnu.org
--- Comment #1 f
11 matches
Mail list logo