libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_run): Pass extra NULL to GOMP_OFFLOAD_async_run.

liboffloadmic/
	* plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_run): Pass extra NULL
	to GOMP_OFFLOAD_async_run.

From-SVN: r232611
This commit is contained in:
Ilya Verbin 2016-01-20 13:40:22 +00:00 committed by Ilya Verbin
parent 28b3301653
commit 23a80f4dc2
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,10 @@
2016-01-20 Ilya Verbin <ilya.verbin@intel.com>
* plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_run): Pass extra NULL
to GOMP_OFFLOAD_async_run.
2016-01-19 Martin Jambor <mjambor@suse.cz>
* plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_async_run): New
unused parameter.
(GOMP_OFFLOAD_run): Likewise.

View File

@ -548,5 +548,5 @@ GOMP_OFFLOAD_run (int device, void *tgt_fn, void *tgt_vars, void **)
{
TRACE ("(device = %d, tgt_fn = %p, tgt_vars = %p)", device, tgt_fn, tgt_vars);
GOMP_OFFLOAD_async_run (device, tgt_fn, tgt_vars, NULL);
GOMP_OFFLOAD_async_run (device, tgt_fn, tgt_vars, NULL, NULL);
}