Skip to content

Commit babd049

Browse files
committed
Added comments.
1 parent 6c5b2ca commit babd049

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel_tuner/backends/backend.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66

77
class Backend(ABC):
8+
"""Base class for kernel_tuner backends"""
89
@abstractmethod
910
def ready_argument_list(self, arguments):
1011
pass
@@ -47,6 +48,7 @@ def memcpy_htod(self, dest, src):
4748

4849

4950
class GPUBackend(Backend):
51+
"""Base class for GPU backends"""
5052
@abstractmethod
5153
def __init__(self, device, iterations, compiler_options, observers):
5254
pass
@@ -65,6 +67,7 @@ def copy_texture_memory_args(self, texmem_args):
6567

6668

6769
class CompilerBackend(Backend):
70+
"""Base class for compiler backends"""
6871
@abstractmethod
6972
def __init__(self, iterations, compiler_options, compiler):
7073
pass

0 commit comments

Comments
 (0)