From 9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 16 Apr 2014 11:13:06 +0000 Subject: Move setGPUIndex to CAlgorithm base class --- include/astra/Algorithm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/astra/Algorithm.h') 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 -- cgit v1.2.3