From 8d2326ba9898bb85dacdd37e565db0847da95752 Mon Sep 17 00:00:00 2001 From: dialecticDolt Date: Mon, 31 Jul 2023 18:04:51 -0500 Subject: [PATCH] Add ptr field to Stream class --- src/python/parla/cython/device.pyx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/python/parla/cython/device.pyx b/src/python/parla/cython/device.pyx index 6dfd125b..80766f02 100644 --- a/src/python/parla/cython/device.pyx +++ b/src/python/parla/cython/device.pyx @@ -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):