diff options
author | Willem Jan Palenstijn <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-16 11:13:06 +0000 |
---|---|---|
committer | wpalenst <WillemJan.Palenstijn@uantwerpen.be> | 2014-04-16 11:13:06 +0000 |
commit | 9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5 (patch) | |
tree | 72487e0d9627c7c7461a210ade532f860002b3a4 /include/astra/Algorithm.h | |
parent | 7ce0b7cca179e903e8011cd96c9910cbdf62ae00 (diff) | |
download | astra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.tar.gz astra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.tar.bz2 astra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.tar.xz astra-9ba4f80d08757f4db1908c7f5aded2e90fa2a5f5.zip |
Move setGPUIndex to CAlgorithm base class
Diffstat (limited to 'include/astra/Algorithm.h')
-rw-r--r-- | include/astra/Algorithm.h | 5 |
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 |