hw_context.h 186 Bytes
Newer Older
moto's avatar
moto committed
1
2
#pragma once

3
#include <libtorio/ffmpeg/ffmpeg.h>
moto's avatar
moto committed
4
5
6
7
8
9
10
11

namespace torchaudio::io {

AVBufferRef* get_cuda_context(int index);

void clear_cuda_context_cache();

} // namespace torchaudio::io