Commit 3bbc5d49 authored by Martin Bauer's avatar Martin Bauer
Browse files

Added missing swap function to data handling interface

parent 77087e9e
...@@ -151,6 +151,10 @@ class DataHandling(ABC): ...@@ -151,6 +151,10 @@ class DataHandling(ABC):
directly passed to the kernel function and override possible parameters from the DataHandling directly passed to the kernel function and override possible parameters from the DataHandling
""" """
@abstractmethod
def swap(self, name1, name2):
"""Swaps data of two arrays"""
# ------------------------------- CPU/GPU transfer ----------------------------------------------------------------- # ------------------------------- CPU/GPU transfer -----------------------------------------------------------------
@abstractmethod @abstractmethod
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment