Lines Matching refs:cuda_stream
202 CUstream cuda_stream; member
1507 mapnum * sizeof (void *), aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_exec()
1524 dp, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_exec()
1576 return (void *) aq->cuda_stream; in GOMP_OFFLOAD_openacc_cuda_get_stream()
1583 if (aq->cuda_stream) in GOMP_OFFLOAD_openacc_cuda_set_stream()
1585 CUDA_CALL_ASSERT (cuStreamSynchronize, aq->cuda_stream); in GOMP_OFFLOAD_openacc_cuda_set_stream()
1586 CUDA_CALL_ASSERT (cuStreamDestroy, aq->cuda_stream); in GOMP_OFFLOAD_openacc_cuda_set_stream()
1589 aq->cuda_stream = (CUstream) stream; in GOMP_OFFLOAD_openacc_cuda_set_stream()
1601 aq->cuda_stream = stream; in GOMP_OFFLOAD_openacc_async_construct()
1608 CUDA_CALL_ERET (false, cuStreamDestroy, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_destruct()
1616 CUresult r = CUDA_CALL_NOCHECK (cuStreamQuery, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_test()
1629 CUDA_CALL_ERET (false, cuStreamSynchronize, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_synchronize()
1639 CUDA_CALL_ERET (false, cuEventRecord, e, aq1->cuda_stream); in GOMP_OFFLOAD_openacc_async_serialize()
1640 CUDA_CALL_ERET (false, cuStreamWaitEvent, aq2->cuda_stream, e, 0); in GOMP_OFFLOAD_openacc_async_serialize()
1663 CUDA_CALL_ASSERT (cuStreamAddCallback, aq->cuda_stream, in GOMP_OFFLOAD_openacc_async_queue_callback()
1737 CUDA_CALL (cuMemcpyHtoDAsync, (CUdeviceptr) dst, src, n, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_host2dev()
1748 CUDA_CALL (cuMemcpyDtoHAsync, dst, (CUdeviceptr) src, n, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_dev2host()