예제 #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
파일: array.py 프로젝트: initcrash/pyopencl
 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)