]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Revert "Removed obsolete method set_stream"
authorShanigen <vkaraf@gmail.com>
Wed, 5 Sep 2018 10:54:07 +0000 (12:54 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Fri, 7 Sep 2018 15:31:08 +0000 (17:31 +0200)
This reverts commit a22c75434c0db289b63de882fc1677108882b445.

src/complexmat.cuh

index c2ddcb75f2a182c1e5fb626dbe7b1e8c4a53a32f..73c2b59dd04441dfe4dde67c91f064cfc6d11335 100644 (file)
@@ -73,6 +73,12 @@ class ComplexMat {
     int channels() { return n_channels; }
     int channels() const { return n_channels; }
 
+    void set_stream(cudaStream_t _stream)
+    {
+        stream = _stream;
+        return;
+    }
+
     void sqr_norm(float *result) const;
 
     ComplexMat sqr_mag() const;