We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8662ee1 commit beeeb1cCopy full SHA for beeeb1c
src/torchcodec/_core/DeviceInterface.h
@@ -17,14 +17,6 @@
17
18
namespace facebook::torchcodec {
19
20
-// Note that all these device functions should only be called if the device is
21
-// not a CPU device. CPU device functions are already implemented in the
22
-// SingleStreamDecoder implementation.
23
-// These functions should only be called from within an if block like this:
24
-// if (device.type() != torch::kCPU) {
25
-// deviceFunction(device, ...);
26
-// }
27
-
28
class DeviceInterface {
29
public:
30
DeviceInterface(const torch::Device& device) : device_(device) {}
0 commit comments