| 46 | } |
| 47 | |
| 48 | NumpyReaderGPU::~NumpyReaderGPU() { |
| 49 | // Stop the prefetch thread as it uses the thread pool from this class. So before we can |
| 50 | // destroy the thread pool make sure no one is using it anymore. |
| 51 | this->StopPrefetchThread(); |
| 52 | } |
| 53 | |
| 54 | void NumpyReaderGPU::Prefetch() { |
| 55 | // We actually prepare the next batch |
nothing calls this directly
no test coverage detected