Skip to content

Commit

Permalink
Add ptr field to Stream class
Browse files Browse the repository at this point in the history
  • Loading branch information
wlruys committed Jul 31, 2023
1 parent 5c4a8ea commit 8d2326b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/python/parla/cython/device.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,10 @@ class Stream:
def wait_event(self):
pass

@property
def ptr(self):
return None

class CupyStream(Stream):

def __init__(self, device=None, stream=None, non_blocking=True):
Expand Down

0 comments on commit 8d2326b

Please sign in to comment.