Skip to content

Commit 7ca71ba

Browse files
committed
Fixed the CUDA_VERSION variable.
1 parent 737c1f8 commit 7ca71ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/backends/nvcuda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __init__(self, device=0, iterations=7, compiler_options=None, observers=None
9696
cuda_error_check(err)
9797
env = dict()
9898
env["device_name"] = device_properties.name.decode()
99-
env["cuda_version"] = cuda.CUDA_VERSION
99+
env["cuda_version"] = driver.CUDA_VERSION
100100
env["compute_capability"] = self.cc
101101
env["iterations"] = self.iterations
102102
env["compiler_options"] = self.compiler_options

0 commit comments

Comments
 (0)