Associates the given stream with the given rocFFT plan.
| 144 | |
| 145 | // Associates the given stream with the given rocFFT plan. |
| 146 | bool SetStream(GpuExecutor *parent, hipfftHandle plan, Stream *stream) { |
| 147 | auto ret = wrap::hipfftSetStream(parent, plan, AsGpuStreamValue(stream)); |
| 148 | if (ret != HIPFFT_SUCCESS) { |
| 149 | LOG(ERROR) << "failed to run rocFFT routine hipfftSetStream: " << ret; |
| 150 | return false; |
| 151 | } |
| 152 | return true; |
| 153 | } |
| 154 | |
| 155 | } // namespace |
| 156 |
no test coverage detected