Lines Matching refs:cuda_stream

216   CUstream cuda_stream;  member
1596 mapnum * sizeof (void *), aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_exec()
1613 dp, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_exec()
1665 return (void *) aq->cuda_stream; in GOMP_OFFLOAD_openacc_cuda_get_stream()
1672 if (aq->cuda_stream) in GOMP_OFFLOAD_openacc_cuda_set_stream()
1674 CUDA_CALL_ASSERT (cuStreamSynchronize, aq->cuda_stream); in GOMP_OFFLOAD_openacc_cuda_set_stream()
1675 CUDA_CALL_ASSERT (cuStreamDestroy, aq->cuda_stream); in GOMP_OFFLOAD_openacc_cuda_set_stream()
1678 aq->cuda_stream = (CUstream) stream; in GOMP_OFFLOAD_openacc_cuda_set_stream()
1690 aq->cuda_stream = stream; in GOMP_OFFLOAD_openacc_async_construct()
1697 CUDA_CALL_ERET (false, cuStreamDestroy, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_destruct()
1705 CUresult r = CUDA_CALL_NOCHECK (cuStreamQuery, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_test()
1718 CUDA_CALL_ERET (false, cuStreamSynchronize, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_synchronize()
1728 CUDA_CALL_ERET (false, cuEventRecord, e, aq1->cuda_stream); in GOMP_OFFLOAD_openacc_async_serialize()
1729 CUDA_CALL_ERET (false, cuStreamWaitEvent, aq2->cuda_stream, e, 0); in GOMP_OFFLOAD_openacc_async_serialize()
1752 CUDA_CALL_ASSERT (cuStreamAddCallback, aq->cuda_stream, in GOMP_OFFLOAD_openacc_async_queue_callback()
1826 CUDA_CALL (cuMemcpyHtoDAsync, (CUdeviceptr) dst, src, n, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_host2dev()
1837 CUDA_CALL (cuMemcpyDtoHAsync, dst, (CUdeviceptr) src, n, aq->cuda_stream); in GOMP_OFFLOAD_openacc_async_dev2host()