summaryrefslogtreecommitdiffstats
path: root/include/astra/Algorithm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/astra/Algorithm.h')
-rw-r--r--include/astra/Algorithm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/astra/Algorithm.h b/include/astra/Algorithm.h
index d4c73f9..21632eb 100644
--- a/include/astra/Algorithm.h
+++ b/include/astra/Algorithm.h
@@ -89,6 +89,11 @@ public:
*/
virtual std::string description() const;
+ /** Set the GPU Index to run on.
+ * TODO: Move this from CAlgorithm to a Context-like class
+ */
+ virtual void setGPUIndex(int /*_iGPUIndex*/) { };
+
/** Signal the algorithm it should abort soon.
* This is intended to be called from a different thread
* while the algorithm is running. There are no guarantees