Пример #1
0
def subset_dot(subset, a, b, dtype=None, queue=None):
    """
    .. versionadded:: 2011.1
    """
    from pyopencl.reduction import get_subset_dot_kernel
    krnl = get_subset_dot_kernel(a.context, dtype, subset.dtype, a.dtype, b.dtype)
    return krnl(subset, a, b, queue=queue)
Пример #2
0
def subset_dot(subset, a, b, dtype=None, queue=None):
    """
    .. versionadded:: 2011.1
    """
    from pyopencl.reduction import get_subset_dot_kernel
    krnl = get_subset_dot_kernel(a.context, dtype, subset.dtype, a.dtype,
                                 b.dtype)
    return krnl(subset, a, b, queue=queue)
Пример #3
0
 def subset_dot(subset, a, b, dtype=None, queue=None):
     from pyopencl.reduction import get_subset_dot_kernel
     krnl = get_subset_dot_kernel(dtype, a.dtype, b.dtype)
     return krnl(subset, a, b, queue=queue)
Пример #4
0
 def subset_dot(subset, a, b, dtype=None, queue=None):
     from pyopencl.reduction import get_subset_dot_kernel
     krnl = get_subset_dot_kernel(dtype, a.dtype, b.dtype)
     return krnl(subset, a, b, queue=queue)