Fix 'libgomp.oacc-c-c++-common/acc_prof-kernels-1.c' for 'acc_device_radeon'
... on top of r279378 (commit 26b74ed022
)
"Update OpenACC tests for amdgcn".
libgomp/
* testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Fix
for 'acc_device_radeon'.
This commit is contained in:
parent
292fb10beb
commit
984df1e163
|
@ -93,6 +93,11 @@ static void cb_enqueue_launch_start (acc_prof_info *prof_info, acc_event_info *e
|
|||
}
|
||||
if (num_workers < 1)
|
||||
assert (event_info->launch_event.num_workers >= 1);
|
||||
/* GCN currently enforces 'num_workers (1)'. */
|
||||
else if (acc_device_type == acc_device_radeon
|
||||
/*TODO ... just not in the "Parallelism dimensions: variable" case. */
|
||||
&& /*TODO*/ num_gangs != 22)
|
||||
assert (event_info->launch_event.num_workers == 1);
|
||||
else
|
||||
{
|
||||
#ifdef __OPTIMIZE__
|
||||
|
|
Loading…
Reference in New Issue