r262997 - in /trunk/libgomp: ChangeLog plugin/p...
vries@gcc.gnu.org
vries@gcc.gnu.org
Thu Jul 26 11:42:00 GMT 2018
Author: vries
Date: Thu Jul 26 11:42:29 2018
New Revision: 262997
URL: https://gcc.gnu.org/viewcvs?rev=262997&root=gcc&view=rev
Log:
[libgomp, nvptx] Add error with recompilation hint for launch failure
Currently, when a kernel is lauched with too many workers, it results in a cuda
launch failure. This is triggered f.i. for parallel-loop-1.c at -O0 on a Quadro
M1200.
This patch detects this situation, and errors out with a hint on how to fix it.
Build and reg-tested on x86_64 with nvptx accelerator.
2018-07-26 Cesar Philippidis <cesar@codesourcery.com>
Tom de Vries <tdevries@suse.de>
* plugin/plugin-nvptx.c (nvptx_exec): Error if the hardware doesn't have
sufficient resources to launch a kernel, and give a hint on how to fix
it.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/plugin/plugin-nvptx.c
More information about the Gcc-cvs
mailing list