We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34775b5 commit 3480ac1Copy full SHA for 3480ac1
pycuda/compiler.py
@@ -210,9 +210,9 @@ def _find_pycuda_include_path():
210
211
212
DEFAULT_NVCC_FLAGS = [
213
- _flag.strip()
214
- for _flag in os.environ.get("PYCUDA_DEFAULT_NVCC_FLAGS", "").split()
215
- if _flag.strip()
+ flag.strip()
+ for flag in os.environ.get("PYCUDA_DEFAULT_NVCC_FLAGS", "").split()
+ if flag.strip()
216
]
217
218
test/test_gpuarray.py
@@ -796,8 +796,8 @@ def test_any(self, dtype):
796
assert any_ary_gpu.dtype == any_ary.dtype
797
798
import itertools
799
- for _array in list(itertools.product([0, 1], [0, 1], [0, 1])):
800
- array = np.array(_array, dtype)
+ for array_ in list(itertools.product([0, 1], [0, 1], [0, 1])):
+ array = np.array(array_, dtype)
801
array_gpu = gpuarray.to_gpu(array)
802
any_array = np.any(array)
803
any_array_gpu = array_gpu.any().get()
@@ -821,8 +821,8 @@ def test_all(self, dtype):
821
assert all_ary_gpu.dtype == all_ary.dtype
822
823
824
825
826
827
all_array = np.all(array)
828
all_array_gpu = array_gpu.all().get()
0 commit comments