From 98291ce55d29c04cc32510da3326ff6119c64482 Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Mon, 16 Dec 2019 08:10:16 +0100
Subject: [PATCH] Change block_size -> block_and_thread_numbers

---
 pystencils/gpucuda/indexing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pystencils/gpucuda/indexing.py b/pystencils/gpucuda/indexing.py
index 0cd18e9ba..f89c480e8 100644
--- a/pystencils/gpucuda/indexing.py
+++ b/pystencils/gpucuda/indexing.py
@@ -125,7 +125,7 @@ class AbstractIndexing(abc.ABC):
                     pycuda.driver.Context.synchronize()
 
                 current_time = timeit.timeit(profile_call, number=1)
-                print(f'{block_size} takes {current_time} ({num_profile_calls})')
+                print(f'{self._block_size} takes {current_time} ({num_profile_calls})')
                 if current_time < best_timing:
                     best_timing = current_time
                     current_best = block_and_thread_numbers
-- 
GitLab