diff --git a/pycuda/gpuarray.py b/pycuda/gpuarray.py index 896b2fca..3f145f7a 100644 --- a/pycuda/gpuarray.py +++ b/pycuda/gpuarray.py @@ -244,6 +244,9 @@ def set(self, ary, async=False, stream=None): def set_async(self, ary, stream=None): return self.set(ary, async=True, stream=stream) + + def dot(self, x, stream=None, allocator=None): + return dot(self, x, stream=stream, allocator=allocator) def get(self, ary=None, pagelocked=False, async=False, stream=None): if ary is None: