From 3f812137cb49c4756ced76feb5f8cd1610f44a91 Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Fri, 26 Mar 2021 08:38:57 -0700 Subject: [PATCH] Clarify comments --- examples/ucx/client_initialize.py | 4 ++-- examples/ucx/local_cuda_cluster.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/ucx/client_initialize.py b/examples/ucx/client_initialize.py index 2a7c6c053..0fe28f5fa 100644 --- a/examples/ucx/client_initialize.py +++ b/examples/ucx/client_initialize.py @@ -44,12 +44,12 @@ def main( # initialize client client = Client(address) - # client code here + # user code here rs = da.random.RandomState(RandomState=cupy.random.RandomState) x = rs.random((10000, 10000), chunks=1000) x.sum().compute() - # shutdown client + # shutdown cluster client.shutdown() diff --git a/examples/ucx/local_cuda_cluster.py b/examples/ucx/local_cuda_cluster.py index ad969857d..bf91c6e62 100644 --- a/examples/ucx/local_cuda_cluster.py +++ b/examples/ucx/local_cuda_cluster.py @@ -64,12 +64,12 @@ def main( # initialize client client = Client(cluster) - # client code here + # user code here rs = da.random.RandomState(RandomState=cupy.random.RandomState) x = rs.random((10000, 10000), chunks=1000) x.sum().compute() - # shutdown client + # shutdown cluster client.shutdown()