From 7c0f11a282391eae7ad2d8f9f8f96334b1860593 Mon Sep 17 00:00:00 2001 From: Shanigen Date: Wed, 5 Sep 2018 12:54:07 +0200 Subject: [PATCH] Revert "Removed obsolete method set_stream" This reverts commit a22c75434c0db289b63de882fc1677108882b445. --- src/complexmat.cuh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/complexmat.cuh b/src/complexmat.cuh index c2ddcb7..73c2b59 100644 --- a/src/complexmat.cuh +++ b/src/complexmat.cuh @@ -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; -- 2.39.2