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
Markus Holzer
pystencils
Commits
131d37e3
Commit
131d37e3
authored
Oct 16, 2021
by
Markus Holzer
Browse files
default target as abstract function
parent
47083575
Pipeline
#34832
failed with stages
in 25 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pystencils/datahandling/datahandling_interface.py
View file @
131d37e3
...
...
@@ -21,6 +21,10 @@ class DataHandling(ABC):
_GPU_LIKE_BACKENDS
=
[
Backend
.
CUDA
,
Backend
.
OPENCL
]
# ---------------------------- Adding and accessing data -----------------------------------------------------------
@
property
@
abstractmethod
def
default_target
(
self
)
->
Target
:
"""Target Enum indicating the target of the computation"""
@
property
@
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