diff options
Diffstat (limited to 'libgomp/oacc-cuda.c')
-rw-r--r-- | libgomp/oacc-cuda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/oacc-cuda.c b/libgomp/oacc-cuda.c index 20774c1..4ee4c9b 100644 --- a/libgomp/oacc-cuda.c +++ b/libgomp/oacc-cuda.c @@ -58,7 +58,7 @@ acc_get_cuda_stream (int async) { struct goacc_thread *thr = goacc_thread (); - if (!async_valid_stream_id_p (async)) + if (!async_valid_p (async)) return NULL; if (thr && thr->dev && thr->dev->openacc.cuda.get_stream_func) @@ -72,7 +72,7 @@ acc_set_cuda_stream (int async, void *stream) { struct goacc_thread *thr; - if (!async_valid_stream_id_p (async) || stream == NULL) + if (!async_valid_p (async) || stream == NULL) return 0; goacc_lazy_initialize (); |