Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonas Plewinski
pystencils
Commits
3bbc5d49
Commit
3bbc5d49
authored
Apr 24, 2018
by
Martin Bauer
Browse files
Added missing swap function to data handling interface
parent
77087e9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
datahandling/datahandling_interface.py
View file @
3bbc5d49
...
...
@@ -151,6 +151,10 @@ class DataHandling(ABC):
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 -----------------------------------------------------------------
@
abstractmethod
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment