Skip to content

Commit

Permalink
Rename PTDS environment variable to RMM_PER_THREAD_DEFAULT_STREAM
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Nov 23, 2020
1 parent d789117 commit 1ee52af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/rmm/_lib/cuda_stream_view.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cdef class CudaStreamView:
CUDA stream to wrap, default 0
"""
if (stream == 0):
if int(os.environ.get("CUDA_PTDS", "0")) != 0:
if int(os.environ.get("RMM_PER_THREAD_DEFAULT_STREAM", "0")) != 0:
self.c_obj.reset(new cuda_stream_view(cudaStreamPerThread))
else:
self.c_obj.reset(new cuda_stream_view())
Expand Down

0 comments on commit 1ee52af

Please sign in to comment.