File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
numba_cuda/numba/cuda/cudadrv Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 6969 Stream as ExperimentalStream ,
7070)
7171
72- # For backwards compatibility: indicate that the NVIDIA CUDA Python bindings are
73- # in use. Older code checks this flag to branch on binding-specific behavior.
74- USE_NV_BINDING = True
7572
7673# There is no definition of the default stream in the Nvidia bindings (nor
7774# is there at the C/C++ level), so we define it here so we don't need to
@@ -2076,7 +2073,7 @@ def __int__(self):
20762073 def __cuda_stream__ (self ):
20772074 if not self .handle .value :
20782075 return (0 , drvapi .CU_STREAM_DEFAULT )
2079- return (0 , self .handle .value if USE_NV_BINDING else self . handle )
2076+ return (0 , self .handle .value )
20802077
20812078 def __repr__ (self ):
20822079 default_streams = {
You can’t perform that action at this time.
0 commit comments