This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/78266] broken openacc loop partitioning on nvptx offloading targets


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 specify num_gangs and the type of
the induction variable is less than integer_node_type, then hard-code num_gangs
to 255 or something small so that the runtime doesn't assign num_gangs that
generate bogus results.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]