Lines Matching defs:src_devicep

2682   struct gomp_device_descr *dst_devicep = NULL, *src_devicep = NULL;
2703 src_devicep = resolve_device (src_device_num);
2704 if (src_devicep == NULL)
2707 if (!(src_devicep->capabilities & GOMP_OFFLOAD_CAP_OPENMP_400)
2708 || src_devicep->capabilities & GOMP_OFFLOAD_CAP_SHARED_MEM)
2709 src_devicep = NULL;
2711 if (src_devicep == NULL && dst_devicep == NULL)
2716 if (src_devicep == NULL)
2727 gomp_mutex_lock (&src_devicep->lock);
2728 ret = src_devicep->dev2host_func (src_devicep->target_id,
2731 gomp_mutex_unlock (&src_devicep->lock);
2734 if (src_devicep == dst_devicep)
2736 gomp_mutex_lock (&src_devicep->lock);
2737 ret = src_devicep->dev2dev_func (src_devicep->target_id,
2740 gomp_mutex_unlock (&src_devicep->lock);
2754 struct gomp_device_descr *src_devicep)
2767 if (dst_devicep == NULL && src_devicep == NULL)
2773 else if (src_devicep == NULL)
2779 ret = src_devicep->dev2host_func (src_devicep->target_id,
2783 else if (src_devicep == dst_devicep)
2784 ret = src_devicep->dev2dev_func (src_devicep->target_id,
2813 src_devicep);
2831 struct gomp_device_descr *dst_devicep = NULL, *src_devicep = NULL;
2854 src_devicep = resolve_device (src_device_num);
2855 if (src_devicep == NULL)
2858 if (!(src_devicep->capabilities & GOMP_OFFLOAD_CAP_OPENMP_400)
2859 || src_devicep->capabilities & GOMP_OFFLOAD_CAP_SHARED_MEM)
2860 src_devicep = NULL;
2863 if (src_devicep != NULL && dst_devicep != NULL && src_devicep != dst_devicep)
2866 if (src_devicep)
2867 gomp_mutex_lock (&src_devicep->lock);
2873 dst_devicep, src_devicep);
2874 if (src_devicep)
2875 gomp_mutex_unlock (&src_devicep->lock);