示例#1
0
文件: array.py 项目: stefanv/PyOpenCL
 def _elwise_multiply(self, out, other, queue=None):
     return elementwise.get_multiply_kernel(
             self.context, self.dtype, other.dtype, out.dtype)
示例#2
0
文件: array.py 项目: sys-git/pyopencl
 def _elwise_multiply(out, a, b, queue=None):
     return elementwise.get_multiply_kernel(a.context, a.dtype, b.dtype,
                                            out.dtype)
示例#3
0
 def _elwise_multiply(out, a, b, queue=None):
     return elementwise.get_multiply_kernel(
             a.context, a.dtype, b.dtype, out.dtype)
示例#4
0
 def _elwise_multiply(self, out, other, queue=None):
     return elementwise.get_multiply_kernel(self.context, self.dtype,
                                            other.dtype, out.dtype)